im trying to include the header at the top of my pages it gives me a blank screen, when i remove it the php file runs and shows the content:
<?php
include("header.php");
?>
thanks :))
im trying to include the header at the top of my pages it gives me a blank screen, when i remove it the php file runs and shows the content:
<?php
include("header.php");
?>
thanks :))
There is probably an error in that file. try turning display errors and reporting on:
ini_set('display_errors', 1);
error_reporting(E_ALL|E_STRICT);
Since you're using "include" and not "require", the white screen means you have an error in header.php itself. Use error reporting to narrow the issue down and fix the root of the problem.