auto insert date into my mysql db?

Soldato
Joined
7 Jan 2007
Posts
10,607
Location
Sussex, UK
I have a column called date of type 'date'

and have this :

PHP:
mysql_query("INSERT INTO talename 
					(idproducts, product1, product2, product3, product4, product5, product6, date) VALUES('3', 'a', 'b', 'c', 'd', 'e', 'f', 'DATE: Auto CURDATE()')") 
or die(mysql_error());

but it no worky. What is wrong?
 
Back
Top Bottom