This is what i have:
$values .= $id . ",";
$values .= $vars["awards"] . "";
$query = "insert into awarded (userchar, aid) ";
$query .= "values ($values)";
update_db($query);
I have a selection box that has multiple selections I need to have the above code be exicuted for each selection from the selection box, I don't know how to do this. this is a MySQL database.