Quick Syntax Question
Posted: Thu Sep 02, 2010 11:05 pm
What's the issue with this?
Thanks!
Code: Select all
$emp = mysql_query("SELECT personID FROM employees WHERE last_name = '$_POST[update]'");
$upd = "UPDATE schedule SET $_POST[type] = $emp WHERE ID ='$_POST[ID]'";