Answer the question
In order to leave comments, you need to log in
What is the problem with MySQL query?
When entering the data received from the form into MySQL, only one value is inserted into all fields (category ID) obtained from $_POST['categoryId'].
Answer the question
In order to leave comments, you need to log in
An error occurred while generating the request. Most likely, in the condition, where the value is <select>
assigned to a variable for insertion into VALUES (), the dot before the equal sign is missing and assignment occurs, not addition.
Other assumptions are strictly by providing source code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question