Rower_CPU said:Edit: Nevermind, then.![]()
Sorry
I'm only having one little trouble, the code all works apart from this:
$upload_sql = "INSERT into essays (essay, datesubmitted, deadline, student_id) values ('".$data."', ".date("Y-m-d").", ".$_POST['type'].", ".$student_id.")";
In the DB once the essay is uploaded the date is 0000-00-00.
Hmm...