H
Haydar
Guest
I'm trying to enter only some values into a table (MySQL), but it gives me an error. I retrieve data from a form, and I need to store those data into the table.
E,g: $insert = "INSERT INTO anetaret VALUES ('$_POST[idmember]', '$_POST[name]')";
As shown here, I have only two values retrieved from the form.html, but in the table there are more than two fields. I want to send data in only two fields, but it gives me an error. I'm able to send data in every field, but i can't send in only those particular ones. Can anyone give me a hand here, please?
Thank you!
E,g: $insert = "INSERT INTO anetaret VALUES ('$_POST[idmember]', '$_POST[name]')";
As shown here, I have only two values retrieved from the form.html, but in the table there are more than two fields. I want to send data in only two fields, but it gives me an error. I'm able to send data in every field, but i can't send in only those particular ones. Can anyone give me a hand here, please?
Thank you!