How do I insert the date into my table?
All you need to do is use the built-in CURDATE function, and it works a little like this:
$q = mysql_query("UPDATE todaysdate SET todayis = CURDATE()");
//sets the field todayis in table todaysdate to 2007-09-18 or whatever the current date is
More mysql PHP QuestionsHow do I find the ID of a new row added to a table?
How do I return the date with mySQL?
how to write sessions in php code?
How do I find the number of rows in a result set?
How do I update the contents of a table row?