Hi,
I'm creating a php form which updates the database when the user fills out the form. Concerning the update command, is this a valid statement.
$sql = "UPDATE place SET address = '$_POST[address]', SET f_name = '$_POST[f_name]', SET l_name = '$_POST[l_name]' where specials= '$_SESSION[idno]'";
I'm creating a php form which updates the database when the user fills out the form. Concerning the update command, is this a valid statement.
$sql = "UPDATE place SET address = '$_POST[address]', SET f_name = '$_POST[f_name]', SET l_name = '$_POST[l_name]' where specials= '$_SESSION[idno]'";