PHP Tutorial: Minecraft Server Info Using Minequery

Post here is you are having problems with any of the tutorials.
Post Reply
sidianto
Posts: 4
Joined: Tue Sep 03, 2013 10:07 am

PHP Tutorial: Minecraft Server Info Using Minequery

Post by sidianto »

]Hi i need help

i get this err.: Parse error: syntax error, unexpected 'include' (T_INCLUDE) in C:\xampp\htdocs\core\init.inc.php on line 5

on this code
<?php

$path = dirname(__file__)

include("{$path}/config.inc.php");
include("{$path}/inc/mc.inc.php");

?>
tnx

//sidianto
User avatar
Temor
Posts: 1186
Joined: Thu May 05, 2011 8:04 pm

Re: PHP Tutorial: Minecraft Server Info Using Minequery

Post by Temor »

You need an ending semicolon here:
$path = dirname(__file__);
sidianto
Posts: 4
Joined: Tue Sep 03, 2013 10:07 am

Re: PHP Tutorial: Minecraft Server Info Using Minequery

Post by sidianto »

tnx it Works

Yeay
Post Reply