Doesn't working after removing space
<?php if($_REQUEST['name']=='all')
{ $q=mysql_query("SELECT * FROM userdata ORDER BY id DESC",$con);
while($row=mysql_fetch_array($q))
{
$all[]=$row;
}
$_SESSION['allstudent']=$all;
header("location:student-list.php?id=1");
}?>
hello Ray Borduin sir i removed sapces the space above the code but it also wont work so what should i do