Jennifer Gardner wrote: > Hello, > I am looking for a good tutorial for having the date submitted when a form > is submitted and then being able to display the date in a results > table/page. Basically, when the form is submitted I want the date submitted > into the mysql table and then I want to display that on a results page. > Thank you in advance for your help. > Jennifer
That should be pretty simple, when you INSERT your data into mysql, add NOW() to insert the current time stamp. http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_now Retrieving is just as easy with dateformat http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_date-format Let me know if you need help and I will post example MySQL queries. John
