I am doing that - sorry, should have given you a bit more code...
conn = mysql_connect ($host, $user, $pwd)
or die ("Unable to connect to database");
$sel = mysql_select_db ($db, $this->conn);
if (!$sel) die ("Unable to select database");
return true;
}
On Friday, May 31, 2002 at 4:11:42 PM, you wrote:
> When I try to work with the first instance of my class, I get an error which
> I finally tracked down to it trying to run it's SQL queries against the
> database defined in $c2. Now, I was under the impression that class
> variables were private
2 matches
Mail list logo