Need help with script

moynul123

Honorable
Oct 20, 2012
1
0
10,510
Error i get:
Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION in /home/a3061583/public_html/mafscriptv1.2(www-r10blog-tk/upload/class/class_db_mysql.php on line 31


class database {
var $host;teamquality.co.cc (line 31)
var $user;a3061583_admin
var $pass;********
var $database;a3061583_Mafia
var $persistent=0;
var $last_query;
var $result;
var $connection_id;
var $num_queries=0;
var $start_time;
function configure($host, $user, $pass, $database, $persistent=0)
{
$this->host=$host;teamquality.co.cc
$this->user=$user;a3061583_admin
$this->pass=$pass;********
$this->database=$database;a3061583_Mafia
$this->persistent=$persistent;
return 1; //Success.
}
 
Is that the full script?

I don't know what scripting language this is, but one thing that stands out is there is no closing bracket for class database.

I assume the line before function should be '}'

It's also possible the '}' should be at the end of what you wrote instead instead, if the function is part of the class database.