Sorry... I clicked send before pasting.  Here is the function I was talking about.

function approvesignup($lid){
global $prefix, $dbi, $signqid, $ev_title, $ev_location, $ev_descrip, $ev_datetime, 
$ev_organizer, $ev_contact, $ev_children, $ev_number, $ev_cost, $ev_phone;
sql_query("INSERT into $prefix"._signup." VALUES (NULL, '$aid', now(), '$ev_title', 
'$ev_location', '$ev_descrip', '$ev_datetime', '$ev_organizer', '$ev_contact', 
'$ev_children', '$ev_number', '$ev_cost', '$ev_phone')",$dbi);
sql_query("DELETE from ".$prefix."_signup_queue WHERE signqid='$lid'", $dbi);
Header("Location: admin.php?op=listsignupqueue");
}

Reply via email to