aebstract Posted September 19, 2008 Share Posted September 19, 2008 $query = mysql_query("INSERT INTO m_used (part_id, material_id, length, width, quantity)". "VALUES ('$var2', '$id_p', '$length', '$width' '$quantity')") or die(mysql_error()); For some reason I added this code and got the error in the subject, does anyone know what is going on with this? Link to comment https://forums.phpfreaks.com/topic/124991-solved-column-count-doesnt-match-value-count-at-row-1/ Share on other sites More sharing options...
F1Fan Posted September 19, 2008 Share Posted September 19, 2008 Missing comma: $query = mysql_query("INSERT INTO m_used (part_id, material_id, length, width, quantity)". "VALUES ('$var2', '$id_p', '$length', '$width', '$quantity')") or die(mysql_error()); Link to comment https://forums.phpfreaks.com/topic/124991-solved-column-count-doesnt-match-value-count-at-row-1/#findComment-645844 Share on other sites More sharing options...
aebstract Posted September 19, 2008 Author Share Posted September 19, 2008 haha thanks Link to comment https://forums.phpfreaks.com/topic/124991-solved-column-count-doesnt-match-value-count-at-row-1/#findComment-645846 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.