Ive got a table and i need date and time for it, ive set the type to date but when i use
mysql_query("INSERT INTO datetime (date, time) VALUES('" . $date . "', '" . $time . "' )")
It puts the date as 0000-00-00 and the time as 00:00:00 instead of what i set it to.
ps. the $date var is $date = date("d/m/y")






Reply With Quote





+rep.