Warum machst du den es nicht so:
PHP-Code:
function connect($host, $user, $password)
{
//Falls du die Variablen $host, $user, $password nochmals brauchst:
$this->host = $host;
$this->user = $user;
$this->password = $password;
//
$this->link = mysql_connect($this->host, $this->user, $this->password);
//Aber es funktioniert auch dies:
$this->link = mysql_connect($host, $user, $password);
//... weiterer Code
}