Surej, I really hate to do this, but your question on Propel is better asked on the Propel mailing lists. You can find the subscription page here: http://propel.phpdb.org/trac/wiki/Support/MailingLists
However, with that said, $results = UserPeer::doSelect (new Criteria ()) should be sufficient. But, if you would supply the Method in GetAuthUserModel.class.php where your error is occurring (line 19) we can better answer your question. Thanks, Jordan S. Jones surej ns wrote: > > Hi all, > > i am using propel 1.3 > > How can i retrive every record form the db..like (select * from ) with > out any condition. > Which function can i use for that. > > Is this code fetch complete records.. > > > > $results = UserPeer::doSelect(*new* Criteria()); > > and resulted in a error > > *Fatal error*: Unsupported operand types in > *D:\xampp\htdocs\login\app\modules\Default\models\GetAuthUserModel.class.php* > on line *19* > > How can i fetch complete records.just guv me an example > > thax > > surej > > ------------------------------------------------------------------------ > > _______________________________________________ > users mailing list > [email protected] > http://lists.agavi.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
