Hey guys, So here is my scripts: test.php
<?phpinclude 'connect.php';?>
connect.php
define("HOST", "localhost");define("USER", "guest");define("PASSWORD", "guest");define("DATABASE", "Minecraft");$mysqli = new mysqli (HOST, USER, PASSWORD, DATABASE);
But when I go and view the test.php in my browser it just prints all the code on the screen like this
define("HOST", "localhost"); define("USER", "guest"); define("PASSWORD", "guest"); define("DATABASE", "Minecraft"); $mysqli = new mysqli (HOST, USER, PASSWORD, DATABASE);
Im a newb to PHP can anyone see what I have done wrong?