edit profile in php mysqli procedural code example
Example: mysqli procedural UPDATE
if ($db->query("UPDATE contact SET lastname='Doe' WHERE id=2") === TRUE) {
echo "Record updated successfully";
} else {
echo "Error updating record";
}
if ($db->query("UPDATE contact SET lastname='Doe' WHERE id=2") === TRUE) {
echo "Record updated successfully";
} else {
echo "Error updating record";
}