Website wont display anything

Is the mysql_* functions supported by your hosting?
It was deprecated in PHP 5.5.0 AND it was removed in PHP 7.0.0. Instead PHP Manual of mysql_query If not supported then the scrip is immediately interrupted at the first call of any of mysql_* function.

Good start is to turn on the error reporting.
Put following code at the beginning of your index.php

<?php 
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

How do I get PHP errors to display?

Leave a Comment