I dont recommend using Dreamweaver Live View for testing your page, it is better to test in a Web Browser.
If a php page displays blank in the browser, it means that a php error has occurred but error reporting is turned off.
Add the following code at line 1 of the page to turn error reporting on:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
once we know the error, we can begin troubleshooting.