should be simple as pie, of course, but i can't find a straightforward
syntax example in the documentation. i'm trying to change the PHP date
format to mysql's.

my code:
$today = date("YYYYMMDD");
$sql = "INSERT into table (date) values ('$today')";
and so on...

is filling the date field with zeros, instead of 2002-02-28

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to