The problem is with this line:
$present1 = $row['$presentnum'];
Normally this would be:
$present1 = $row['presentnum'];
Notice the difference is that in the first line presentnum is a variable and in the second line presentnum is the actual field name. I need it to be the variable, but this method doesn't work.
Sorry for my delayed response, I was out of town and for some reason I didn't get an e-mail reply from this thread :S
Thanks again,
Johnie Karr