How do I return the date with mySQL?
For instance when a user registers for the site, you might want to record the date they registered on, and so forth.
To do so, use the CURDATE() function within mysql, like this:
$todayis = mysql_query("SELECT CURDATE() FROM table");
$itis = mysql_result($todayis,0,0);
echo "Today is: $itis";
More mysql PHP QuestionsEquip table and Vendor table. Each piece of equipment has a matching vendor ID. How to display vendor name instead of ID in PHP output?
How do I insert the date into my table?
I'm creating a table to store clients' info via PHP; can I make an inquiry field where the client can enter comments about their inquiry?
How do I order the results of my query?
How do I update the contents of a table row?