hkothari Posted October 27, 2009 Share Posted October 27, 2009 What happens if I call mysql_query("INSERT INTO table (field1, field2, stuff, field3) ('value1','value2','value3', 'value4')") when the column 'stuff' doesn't exist? Does the query fail completely, is everything else inserted properly or something else? Quote Link to comment Share on other sites More sharing options...
Psycho Posted October 27, 2009 Share Posted October 27, 2009 Seriously? It would have taken you less time to test it than it would for you to have posted here. Just put an on Die trigger to echo out the mysql_error() that will be produced Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.