On Tue, 21 Sep 2004 16:25:37 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > i need to insert a current timestamp into a mysql field when a form is posted. > can anyone suggest a simple way of doing this?
Here's the MySQL answer: If you have a (data type) timestamp field in your table, you don't need to do anything. MySQL will automatically fill it in on insert, and update it when you run an update query. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php