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? Link to comment https://forums.phpfreaks.com/topic/179268-inserting-nonexistant-field-into-mysql-table/ 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 Link to comment https://forums.phpfreaks.com/topic/179268-inserting-nonexistant-field-into-mysql-table/#findComment-945829 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.