rendered paste bodywhile($kidcounter > -1)
{
mysql_query ("INSERT INTO attendee (cgroup0, plname0,pfname0,cfname0,clname0,cgender0,cclass0,cbday0,pphone0,pemail0,chealth0,cshirt0,clocation0,course10,course20,course30,efname0,elname0,ephone0,erel0,pgid) VALUES ('$cgroup".$kidcount."','$plname','$pfname','$cfname".$kidcount."','$clname".$kidcount."','$cgender".$kidcount."','$cclass".$kidcount."','$cbday".$kidcount."','$pphone','$pemail','$chealth".$kidcount."','$cshirt".$kidcount."','$clocation".$kidcount."','$course1".$kidcount."','$course2".$kidcount."','$course3".$kidcount."','$efname','$elname','$ephone','$erel','$pgid')");
$kidcounter--;
}