Answer the question
In order to leave comments, you need to log in
What is wrong with the SQL query?
There was a request without update field `short`. Everything worked as it should. Then it was necessary to add the `short` field to the table. Changed the query itself:
$sql = "UPDATE indexing_link SET title='" . $title . "', short='" . $short . "' WHERE id=" . $id_current_url;
$sql = "UPDATE indexing_link SET title='" . $title . "', short='" . $short . "' WHERE id=" . $id_current_url;
mysqli_query($mysqli, $sql) or die('Error_ (' . mysqli_connect_errno() . ') ' . mysqli_connect_error());
$sql = "UPDATE indexing_link SET title='" . $title . "' WHERE id=" . $id_current_url;
$sql = "UPDATE indexing_link SET title='" . $title . "', short='" . $short . "' WHERE id=" . $id_current_url;
Answer the question
In order to leave comments, you need to log in
Like the request is written correctly, in the table added this field "short"?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question