This is my code as it stands. What I am having trouble with is refering to the form name correctly, as I need to concatenate the current number in the loop to the variable name, then grab the data stored in that variable. I feel I am dangerously close here, but not quite solving it.
Thanks for any help!!
$i = 1;
do
{
$sql = "UPDATE $prefix"._schedule." SET event_type='$event_type.$i', event_date='$event_date.$i', week='$week.$i', event='$event_input', date_posted='$date_posted' WHERE id=$i";
$result = mysql_query($sql) or die("There was a problem inserting the information into the database");
$i = $i + 1;;
}
while ($i <= $num_events);