To see if there is a php error occurring add the following code to line 1 of your page:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
report back any errors that display after adding that code and compress a copy of the problem page in a zip file and attach it to your reply so I can investigate the code.