The old problem has now been resolved, thanks for the help. Iv'e run the script again, and this error got returned..
Warning: Missing argument 1 for sql_connect() in c:\documents and settings\stezzy\desktop\files\projects\slackernet\include\database.php on line 27
Warning: Missing argument 2 for sql_connect() in c:\documents and settings\stezzy\desktop\files\projects\slackernet\include\database.php on line 27
Warning: Missing argument 3 for sql_connect() in c:\documents and settings\stezzy\desktop\files\projects\slackernet\include\database.php on line 27
Warning: Missing argument 4 for sql_connect() in c:\documents and settings\stezzy\desktop\files\projects\slackernet\include\database.php on line 27
yet when the function is called.. all four arguments ARE supplied.
$db = new sql_connect("localhost", "---", "---", "---");
the function definition is stated below for reference..
function sql_connect($host, $user, $pass, $db)
{
$this->host = $host;
$this->user = $user;
$this->pass = $pass;
$this->dbname = $db;
$this->db_status = @mysql_connect($this->host, $this->user, $this->pass);
if($this->db_status)
{
if($db != "")
{
$this->dbname = $db;
$dbselect = @mysql_select_db($this->dbname);
if(!$dbselect)
{
@mysql_close($this->db_status);
$this->db_status = $dbselect;
}
return $this-db_status;
}
}
else
{
return false;
}
}
Does anyone have an idea of what's going on?
Regards, Stezz.