Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- mysql syntax error?


highseas - 7:39 pm on Nov 9, 2010 (gmt 0)


mysql_query ("INSERT INTO obits VALUES ('$obit_id', '$first_name', '$last_name', '$age', '$dob', '$dod', '$obit_text', '$photox')");

I believe I solved it ..... removed the single quotes from the table name and I closed the db connection too.

mysql_close($con);


Thanks, but alway love feedback!


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/4228563.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com