I'm at chapter 9 and trying to create the php file, 'mysqli_connect.php'. I've made the file, saved it, loaded it but all I get is 'syntax error'. I've experimented with commenting out individual lines of code but always the same message appears, only pointing to a different line: suggesting all the code is wrong!
I copied it exactly as in the book (it should be recognised!):
<?php mysqli_connect.php DEFINE ('DB_USER', 'xxxx'); DEFINE ('DB_PASSWORD', 'xxxx'); DEFINE ('DB_HOST', 'localhost:8888'); DEFINE ('DB_NAME', 'sitename'); //make the connection $dbc = @mysqli_connect (DB