Add the following to line 1 of your page to see if therte are any PHP errors occuring:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
report back any errors that are being displayed, also compress the problem page into a zip file and send it along with your reply sop I can examine the code.