[thelist] MySQL datestamp in PHP

Ken Moore psm2713 at hotmail.com
Wed Jan 14 12:21:42 CST 2004


OK,

After more than 2 hours of looking, I am ready to admit defeat. I have a 
MySQL table with a datestamp field. I cannot find the correct PHP comand to 
insert the time of record creation.

This does not work. What does?

$result = mysql_query("insert into agent values ( '$dns', '$submit_to', 
'date()')");

TIA,

Ken

_________________________________________________________________
Rethink your business approach for the new year with the helpful tips here. 
http://special.msn.com/bcentral/prep04.armx



More information about the thelist mailing list