Re: function misfunction

From: Date: Mon, 30 Dec 2002 14:07:12 +0000
Subject: Re: function misfunction
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-129659@lists.php.net to get a copy of this message
On Mon, 30 Dec 2002 14:48:13 +0100, you wrote: >function setCurrentDevGroup($devID) > { >// start original routine > $query = "SELECT dev_group FROM tracking WHERE (computer = > > > > > > > > > > > $devID)"; > $sth = $adb->prepare($query); [...] > Call to a member function on a non-object in >/www/htdocs/dev/include/irm.inc on line 2857 Just a guess, but where did $adb inside your function come from? It doesn't appear that you've instantiated it.

« previous php.general (#129659) next »