Answers for "mysqli procedural UPDATE"

CSS
1

mysqli procedural UPDATE

if ($db->query("UPDATE contact SET lastname='Doe' WHERE id=2") === TRUE) {
  echo "Record updated successfully";
} else {
  echo "Error updating record";
}
Posted by: Guest on July-27-2020

Browse Popular Code Answers by Language