M
M
Mike Gasper2015-01-06 02:46:38
PHP
Mike Gasper, 2015-01-06 02:46:38

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

5 answer(s)
A
Alexander Aksentiev, 2015-01-06
@Sanasol

clear

A
Alexander Taratin, 2015-01-06
@Taraflex

Do you think anyone can answer your question?

E
Evgeny Lavrentiev, 2015-01-06
@lavrentiev

I didn't understand anything at all)

U
ukoHka, 2015-01-06
@ukoHka

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.

S
Sergey Romanov, 2015-01-06
@Serhioromano

It happens :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question