Displaying Coding errors in PHP

If you just see a blank page instead of any errors, and you don't have access to the server, you can add a few lines to your scripts to make it easier to develop your code.

Create a file called "init.php" with the following code:

<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
?>

Then, you can include it in any scripts that require error reporting:
<?php

include 'init.php';

// ... the rest of your code

?>