Answer the question
In order to leave comments, you need to log in
Can you comment on such a set of php functions?
Learning the world of web programming in php - I invent another bicycle for myself.
I'm doing a little functionality for the form handler...
Posted here:
ideone.com/oRRaAy
I would appreciate your comments.
The questions are as follows...
UPDATE cities2 SET `id`='7', `city`='Иваново' WHERE `id` = 7
Запрос выполнен успешно
Answer the question
In order to leave comments, you need to log in
Can't succeed because id=7 doesn't exist...
The request is correct. The fact that there were no fields to put down new values means nothing. Believe it or not, there are also deletion requests that do not delete anything.
UPD: You have more sins in the code at the link. Concatenation of sql queries, flickering markup elements and echo (apparently a mess of working with the database and working with the client view).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question