I am trying to update my DB using PHP string
$sql = "UPDATE client_account
status = '".$status."'
WHERE client = '".$client."'"
if ($conn->query($sql) === TRUE) {
echo " Notes ";
} else {
echo "Notes";
die;
}
I keep on getting error saying syntax error, unexpected 'if' (T_IF) in
All I want to do is update a row using the WHERE query and just update the one coulomb