Date function

From: Date: Fri, 19 Apr 2002 09:28:13 +0000
Subject: Date function
Groups: php.general 
Request: Send a blank email to php-general+get-93646@lists.php.net to get a copy of this message
Hello I have the following SQL and I wanna insert the current date in one of the table fields but it's not working. Can u tell me whats the problem? (I'm using mysql and php) Thx a lot $SQL = "INSERT INTO orders (Customer_Id, Order_Date)". "VALUES($CustID,date())";

« previous php.general (#93646) next »