$timestamp")) error_user('Leerling zit al in groep', 'Op '.$_POST['date'].' zit '.$exploded[0].' al in '.$exploded[1]); mdb2_exec($db, "INSERT INTO ppl2grp ( ppl_id, grp_id, ppl_enter, ppl_exit ) VALUES ( $ppl_id, $grp_id, $timestamp, $end_timestamp )"); header('Location: '.$location.'admin.php'); ?>