Hi Guys,

I'm going through 'Build your own database driven web site' by Kevin Yank, 4th edition.

I'm stuck in chapter 4 page 121

Ive copied everything, the only difference is Ive used my own web host to create a test site, but thought the only difference would be database name etc....

At any rate its not throwing up any errors at all, just a blank white screen.

PHP below.

PHP Code:
<?php
$link 
mysqli_connect('localhost''web81-johntrain''train567');
if (!
$link)
{
$output 'Unable to connect to the database server.';
include 
'output.html.php';
exit();
}

if (!
mysqli_set_charset($link'utf8'))
{
$output 'unable to set database connection encoding.';
include 
'output.html.php';
exit();
}

if (!
mysqli_select_db($link'web81-johntrain'))
{
$output 'Unable to locate the joke databse.';
include 
'output.html.php';
exit()
}

$output 'Database connection established.';
include 
'output.html.php';
?>
Any help would be great thanks