Ok heres the code im using to insert data into a table-
now the error im getting is "Column count doesn't match value count at row 1",
just wondering what exactly is this error referring to and how i can fix it?
Any help greatly appreciated, cheers
Code:
$import="INSERT into default_en_listingsdbelements(listingsdbelements_id,listingsdbelements_field_name,listingsdbelements_field_value,listingsdb_id,userdb_id) values('$data[0]','$data[1]','$data[2]'','$data[3]'','$data[4]')";
just wondering what exactly is this error referring to and how i can fix it?
Any help greatly appreciated, cheers
Comment