UCP problam
#1

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?
Reply
#2

Код:
<?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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)