Help - Inserting to a timestamp
Posted: Thu Sep 18, 2003 11:06 am
Ok, as best I can tell, the following code should insert the variables into the table, which it does do, and it should set the date in a timestamp feild, which it dosen't. Bugger. The timestamp feild would be the last of the 5 INSERT intos btw. I hope that makes sense
Code: Select all
if (mysql_num_rows($result) == 0) {
echo 'Sorry, your question is not in our database<P>';
echo '<a href="search.php">Perform another search</a>';
$no = No;
$notasked=mysql_query("INSERT INTO ansr_info VALUES ('','$search','','$no','')");
}