Hi,
I need some help with the following problem: I want to insert a new record to a MySQL table using an HTML form. How can I get the system date & time in PHP, and how can I give its value to a datafield of that record?
A similar thing: if I want to increment the value of the primary key of the new record, how can I do that? Do I need to make a query, find the biggest value and increase it by one? I don't think so. Someone, please help me! Thanks a lot!
Best regards,
Akos, Hungary
I need some help with the following problem: I want to insert a new record to a MySQL table using an HTML form. How can I get the system date & time in PHP, and how can I give its value to a datafield of that record?
A similar thing: if I want to increment the value of the primary key of the new record, how can I do that? Do I need to make a query, find the biggest value and increase it by one? I don't think so. Someone, please help me! Thanks a lot!
Best regards,
Akos, Hungary