when a page displays blank, it means a php error is occurring, but error reporting is turned of in the php.ini file.
to enable error reporting, add the following code at line 1 of your page:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>