how to update the database in php code example
Example: update php sql
$_old_username = "Randy";
$_new_username = $_POST["username"];
$_sql = "UPDATE user SET first_name = $_new_username WHERE first_name = $_old_username";
$_old_username = "Randy";
$_new_username = $_POST["username"];
$_sql = "UPDATE user SET first_name = $_new_username WHERE first_name = $_old_username";