Re: [PHP-DB] INSERT Won't Insert

2001-08-01 Thread Gremlins Mailing List
Steve I believe you're missing the closing bracket ) after $Website. I think it's clearer if you use single quotes (') rather than double quotes and then having to escape them. Something like: "INSERT INTO $table_name (CompanyID, CompanyName, Address, City, StateorProvince, PostalCode,Region,

RE: [PHP-DB] INSERT Won't Insert

2001-08-01 Thread Craig Vincent
If you simplify the query you'll see your error...all those escaped " were giving me a headache hehe *modified* $add_co_sql = "INSERT INTO $table_name (CompanyID, CompanyName, Address, City, StateorProvince, PostalCode,Region,Country,WebSite)VALUES ('','$CompanyName','$Address','$City','$Stateor