[thelist] MySQL datestamp in PHP

Liam Delahunty liam at megaproducts.co.uk
Wed Jan 14 17:47:30 CST 2004


on 14/01/2004 18:21 Ken Moore wrote:

> This does not work. What does?
> 
> $result = mysql_query("insert into agent values ( '$dns', '$submit_to', 
> 'date()')");
> 

Try getting rid of the quotes around date().

-- 
Kind regards,
Liam Delahunty
http://www.megaproducts.co.uk/



More information about the thelist mailing list