start coding kat index.php
*maaf, form tak dapat disalin dalam blog ni sbb ada error
kemudian, pada page upload.php >>
//1. tukar nama fail yg diupload dengan penambahan conference_id kat depan nama fail
//echo "".$_FILES['nota']['name']."";
$nfname = $conference_id.'-'.$_FILES['nota']['name'];
//echo $nfname;
//2. nak masukkan fail yg diupload ke dalam folder rakyat
//3. masukkan nama fail dlm database 'ipms_takwim_conference' field 'conference_speakernote'
$sqlUpdNote = "UPDATE ipms_takwim_conference
SET conference_speakernote='".$nfname."'
WHERE conference_id='".$rowDate['conference_id']."'";
$result10 = mysql_query($sqlUpdNote) or die (mysql_error());
}
/* tamat fungsi upload dokumen utama yg dijalankan */
?>
nursyuhada.com
0 comments:
Post a Comment