Jump to content

[SOLVED] Column count doesn't match value count at row 1


aebstract

Recommended Posts

$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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.