note 1466 deleted from pg_Fetch_Object by jmoore

From: Date: Fri, 18 Aug 2000 22:59:32 +0000
Subject: note 1466 deleted from pg_Fetch_Object by jmoore
Groups: php.notes 
Request: Send a blank email to php-notes+get-2536@lists.php.net to get a copy of this message
How do you acces data of a object that was fetched from join query and table have the same field name's.? table computers id|descr table monitors id|descr $res=pg_exec($conn, "select w.id, w.descr, z.descr from computers w, monitors z where w.id=z.id); $data=pg_fecht_object($result,0); Now i want to print a table with id, descr(From computers), descr(From monitors) echo $data->id, $data->descr, $data->????

« previous php.notes (#2536) next »