forked from science-ation/science-ation
Fix missing space
This commit is contained in:
parent
25d2b4297d
commit
b5a67ca301
@ -54,7 +54,7 @@
|
|||||||
$_SESSION['email']=stripslashes(mysql_escape_string($_POST['email']));
|
$_SESSION['email']=stripslashes(mysql_escape_string($_POST['email']));
|
||||||
|
|
||||||
$q=mysql_query("SELECT registrations.id AS regid, registrations.num AS regnum, students.id AS studentid, students.firstname FROM registrations,students ".
|
$q=mysql_query("SELECT registrations.id AS regid, registrations.num AS regnum, students.id AS studentid, students.firstname FROM registrations,students ".
|
||||||
"WHERE students.email='".$_SESSION['email']."'".
|
"WHERE students.email='".$_SESSION['email']."' ".
|
||||||
"AND registrations.num='".intval($_POST['regnum'])."' ".
|
"AND registrations.num='".intval($_POST['regnum'])."' ".
|
||||||
"AND students.registrations_id=registrations.id ".
|
"AND students.registrations_id=registrations.id ".
|
||||||
"AND registrations.year=".$config['FAIRYEAR']." ".
|
"AND registrations.year=".$config['FAIRYEAR']." ".
|
||||||
|
Loading…
Reference in New Issue
Block a user