function db_query($query) {
$get=mysql_db_query($this->name,$query,$this->connect());
list($result)=mysql_fetch_row($get);
return $result;
}
and in a a file which require()'s that one,
$cats = $funk->num_vals("SELECT catid FROM $table1 ORDER BY order_by");
i get this error:
Warning: Supplied argument is not a valid MySQL result resource in
/home/httpd/vhosts/eprod.freephp.digiro.net/htdocs/forums/testing/mysql.php on line 19
(line 19 is the one on top starting with list())