query($is_admin)) { if($result->num_rows == 0){ header('LOCATION: '.S.'user/?e=invalid'); } /* free result set */ $result->close(); } }else{ $login = FALSE; } ?> Laura's Edelsmeden