Hello Friends, I have a large table with 56 fields on it. Now I want to selected columns to be use. I am doing following but getting error. Can anyone help me in this?
$c = new Criteria(); $c->addSelectColumn(TablePeer::ID); $c->addSelectColumn(TablePeer::NAME); $c->addSelectColumn(TablePeer::LASTNAME); $pager = new sfPropelPager('Tables',10); $pager->setCriteria($c); $pager->setMaxPerPage(10); $pager->setPage($page); $pager->init(); Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---