Menu
This is a simple question, but I haven’t had much luck finding the solution.
I have a form where a user will enterd his name and address and click on Submit. I’m using PHP to capture this info and enter in a MySQL table. In the table, I also have a field of type ‘date’. WHen I insert the name and address, I also want to enter the current date. I’m using date() in my ‘insert into table’ command, but it doesn’t seem to work. What is the correct syntax to enter today’s date! Thank you!
DL