Bad date external representation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am running into a "Bad date external representation" when I try to insert some data from one of my pages.

This is the SQL statement:

$sql="insert into Vehicle_List (Date_PU,Date_Called,Company,Stock_Number,VIN,Veh_Year,Veh_Make,Veh_Model,Veh_Color,
PU_LOC,Recd_Orig_Title,Sent_Title,Recd_Title,Sold_Date,Sale_Date,Sale_Status,VIN_Short) VALUES ('$Date_PU','$Date_Called','$Company','$Stock_Number','$VIN','$Veh_Year','$Veh_Make',
'$Veh_Model','$Veh_Color','$PU_LOC','$Recd_Orig_Title','$Sent_Title',
'$Recd_Title','$Sold_Date','$Sale_Date','$Sale_Status','$VIN_Short')";


I am using Postgres 7.3. The date is being entered as 10/10/2004. Any ideas?

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux