Hi
Sorry to be of no use last time. I'm used to getting that error though, at times. So, given your code so far is ok, and you are connected ok to the database (you can use the 'or die'to get error messages e.g.
mysql_connect($this->server, $this->db_user, $this->db_pass) or die ("Sorry cant connect to database");
that lets you know when you havn't connected etc. etc. - please forgive me if you know this already :-) )
then, perhaps you could use $result within a logical construct e.g.
if ($result) { do something } - this would perhaps then not send you the error message and you could then use an else { do something else } in order to do something else if the query turns up 0 results.
An alternative might be to turn the error message off by using the @ before the function, (I think), though I dont do this myself.
Any use?
Jim