$this->connection = mysql_connect("$host", "$user", "$pswd") or die("Database connection failed ". mysql_error());
Sie sollten
verwenden$this->host,$this->user,$this->pswd
$this->connection = mysql_connect("$host", "$user", "$pswd") or die("Database connection failed ". mysql_error());
Sie sollten
verwenden$this->host,$this->user,$this->pswd