when running CLASS_Database.php , from the address bar
i have
Parse error : syntax error, unexpected ‘(’ in /home2/glanglais57/public_html/directory/includes/class_database.php on line 337
I have trouble to fix the Parse error.
I will appreciate help.
Thank’s in advance
335- function Connect($host, $user, $pass, $name, $type =
‘mysql’) {
336- PDO;
337- $this->connection = new ( ‘’ . $type . ‘:host=’ . $host .
‘;dbname=’ . $name, $user, $pass );
}