View Single Post
Old 04-16-2009, 12:08 AM   #2 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

You can't use an array like that for the function arguments.

PHP Code:
public function dbConnect($host$user$pswd$name) {
    
$this->link mysqli_connect($host$user $pswd$name); 
    
// ...

Salathe is offline  
Reply With Quote
The Following User Says Thank You to Salathe For This Useful Post:
Sam Granger (04-16-2009)