HTML_Select

From: Date: Fri, 01 Feb 2002 15:05:10 +0000
Subject: HTML_Select
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-760@lists.php.net to get a copy of this message
Hi, Whenever I tried to execute this code require_once "DB.php" ; require_once "HTML/Select.php" ; $db = DB::connect("$db_type://$db_user:$db_pass@$db_host/$db_name", $db_pipe) ; $req_people = "SELECT p.username, p.person_id FROM persons p" ; $select = HTML_Select::HTML_Select('select_owner') ; #$select->loadDbResult($db, $req_people) ; I got this error : Fatal error: Call to a member function on a non-object in HTML/Common.php on line 61 and the line 61 is: function HTML_Common($attributes=null, $tabOffset=0) { $this->setTabOffset($tabOffset); # THIS ONE Any ideas ?? Thanks

« previous php.pear.general (#760) next »