When authorizing a white screen, how to identify the cause of this? In the table is only 1 password. 
<?php include 'bd.php'; $result = mysql_query("SELECT adminpass FROM adminpassword"); $array = mysql_fetch_array($result); if(!empty($_POST['password'])){ if($_POST['password']==$array[adminpass]){ session_start(); $_SESSION['access']=true; header("Location: adminpanel"); } else { header("Location: error"); } } else { ?> CONTENT... <?php } ?>