diff --git a/register_participants_emergencycontact.php b/register_participants_emergencycontact.php index b78e50f..4014b5a 100644 --- a/register_participants_emergencycontact.php +++ b/register_participants_emergencycontact.php @@ -24,6 +24,7 @@ id'"); - if(mysql_num_rows($q)==0) - { + if(mysql_num_rows($q)==0) { mysql_query("INSERT INTO emergencycontact (registrations_id,students_id,year) VALUES ('".$_SESSION['registration_id']."','".$sr->id."','".$config['FAIRYEAR']."')"); $id=mysql_insert_id(); unset($r); } - else - { + else { $r=mysql_fetch_object($q); $id=$r->id; }