Re: [PHP] Class PHP4 problem

2004-09-29 Thread j kensler
Try adding function getQuery() { return $this->query; } to the first class, then in the second class, replace $query with $this->getQuery() Like I have below. On Wed, 29 Sep 2004 17:08:49 +0200, kioto <[EMAIL PROTECTED]> wrote: > //db_class.php > > error_reporting(E_ALL); > > class Db_Conne

[PHP] Class PHP4 problem

2004-09-29 Thread kioto
error_reporting(E_ALL); class Db_Connect { var $host; var $user; var $pasw; var $MYSQL_ERRNO; var $MYSQL_ERROR; var $query; function make_connect($host, $user, $pasw) { $this->host = $host; $this->user = $user; $this->pasw = $pasw; $link_id = mysql_conn