I am trying to include a heading at the top of my pages, but it gives me a blank screen. When I delete it, the PHP file starts up and shows the contents:
<?php include("header.php"); ?>
What will go wrong?
There is probably an error in this file. try turning on display errors and reporting them:
ini_set('display_errors', 1); error_reporting(E_ALL|E_STRICT);
Since you use enable, not require, a white screen means that you have a header.php error itself. Use the error report to narrow down the problem and eliminate the root of the problem.
Source: https://habr.com/ru/post/1769414/More articles:Retraining for a program - finding object-oriented design books - javaAlternative OverLibWrapper to display tooltips in ASP.NET - c #Как определить количество бит в шаблоне, не являющемся интегральным постоянным параметром? - c++Какая разница между void * и id? - objective-cHow to get statistics on processor and memory usage in WIndows Phone 7? - windows-phone-7C # using bitwise XOR for exchange - c #Javascript OOP library for client and server js (node.js) - javascriptHow to configure advanced options in mod_rewrite - .htaccessFunction declaration / function definition - c ++Разбор сериализованных данных JQuery в С# - jqueryAll Articles