what is the error? I need all of the details to be able to help.
If you are not getting any error, ad d the following code at line 1 to turn error reporting on:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
it would also help to have a copy of your page.