Hey guys,
Thanks for replying.

This is the solution that actually works.

class ads_DB extends DB_Sql {
  var $Host     = "";
  var $Database = "";
  var $User     = "";
  var $Password = "";
  /* public: constructor */
  function ads_DB($query = "") {
   global $MR_Host,$MR_Database,$MR_User,$MR_Password;
   $this->Host     = $MR_Host;
   $this->Database = $MR_Database;
   $this->User     = $MR_User;    
   $this->Password = $MR_Password;
   $this->DB_Sql($query);

Cheers,
-Ryan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to