Re: dataObject fetch all?

From: Date: Mon, 10 Feb 2003 17:05:08 +0000
Subject: Re: dataObject fetch all?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3682@lists.php.net to get a copy of this message
Sorry! I switched something: my fault. Now it works. "Till Dawn" <naturalkiller@gmx.net> schrieb im Newsbeitrag news:20030209170016.54563.qmail@pb1.pair.com... > Hy everybody! > > How do I fetch all results when I'm using dataObjects. > > neither : > > $artists = new Object_artist; > $artists -> find(); > while( $artists->fetch() ){ > .. > } > > nor: > > $artists = new Object_artist; > $artist = $artists -> query("select * from ".$artists->__table); > while( $artist -> fetch() ) { > ... > } > > worked for me. Pleas help me out this simple question. > > Your Till Dawn > >

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