$sql = str_replace($this->prefix."users", "dblink('dbname=userdb', '".$this->prefix."users')", $sql);
That would be roughly the alternative to the MySQL method above?
However, by the looks of that first dblink doc, the select statement for that table also needs to be within that dblink function, along the lines of:
$sql = str_replace($this->prefix."users", "dblink('dbname=userdb', 'select [userdb required columns here] from ".$this->prefix."users')", $sql);
Unless I've misinterpreted that dblink documentation, that wouldn't be feasible using that str_replace method above, would it? Or, have I completely misinterpreted that documentation, as is my usual forte?
Thanks again,
Matt