[PHP] Re: date for mysql

2003-10-17 Thread pete M
insert into table (date_created) values( now() ) ;-) pete Diana Castillo wrote: how can I format the current date and time so that I can insert it into a mysql table with an insert query? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: date from mysql

2002-08-29 Thread David Robley
In article 01ae01c24f4f$51dc7bd0$b50a@web18, [EMAIL PROTECTED] says... i want Y (year format) printed on my php script (looping), i already tried it but i got same Year format (ex 1978) in all row in my table my loop script is: $query = (select * from table); $result =