Blank page on loading of php file -
when go load in browser, nothing displayed. if comment out last line works fine. thought if last line causing type of error reported, rather nothing happening.
<?php ini_set('display_errors',1); error_reporting(e_all); echo "hello" $xml = simplexml_load_file(dirname(__file__).'/svn_log.xml') ?>
missing 2 ending/closing semi-colons.
the 1 echo "hello" important one.
it's practice finish lines semi-colons.
<?php ini_set('display_errors',1); error_reporting(e_all); echo "hello"; $xml = simplexml_load_file(dirname(__file__).'/svn_log.xml'); ?>
Comments
Post a Comment