SA-MP Forums Archive
UCP problam - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: UCP problam (/showthread.php?tid=109034)



UCP problam - whitedragon - 17.11.2009

i have problem to set up UCP.
in index.php i get error:
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in \ucp\inc\check.inc.php on line 8
Код:
<?php
include('config.inc.php');  
$db_Connect = mysql_connect($config->Host,$config->User,$config->Pass); 
mysql_select_db($config->DB,$db_Connect);

class UserControl
{
	public $user;
whats the problam?


Re: UCP problam - darkrider366 - 17.11.2009

Код:
<?php
include('config.inc.php');  
$db_Connect = mysql_connect($config->Host,$config->User,$config->Pass); 
mysql_select_db($config->DB,$db_Connect);

class UserControl
{
	public $user;
	
}
Or it could be telling you that you need a function before the public?