I am having trouble with one line of code...
It recieves a selection from a select box on another page. I am trying to pass that variable along to call up the right person in the database.
ex: $id gets passed to this page & looks up peron in db with matching $id
Connection stuff goes here...
foreach($HTTP_POST_VARS as $value) {
echo "<BR>You clicked checkbox number $value ";
}
mysql_select_db("bpafuner_test",$db);
$result = mysql_query("SELECT * FROM employees WHERE id=$id, $db");
while($myrow = mysql_fetch_array($result))
{
extract($myrow);
echo "$last?: $id";
}
if (mysql_error())
echo mysql_error();
?>