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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php