What is this? (rearranged for logical clarity)
if (!$dblink)
{
// Empty blocks are acceptable, but why?
}
elseif (!mysql_select_db($this->dbname, $dblink))
{
$dblink = false;
} That's like saying,
if ($dblink && !mysql_select_db ($this->dbname, $dblink)) $dblink = false;
Which would you rather come across, cold?