View Single Post
  #1 (permalink)  
Old 01-06-2008, 02:12 AM
conradwt conradwt is offline
Member
 
Join Date: Nov 2007
Posts: 33
Question Is fetchAll returning wrong rowset?

Hi, I'm using fetchAll as follows:

PHP Code:
$where   null;
$orderBy 'id DESC';
$count null;
$offset 4;
$recents $episode->fetchAll$where$orderBy$count$offset ); 
Now, when the above code is executed, it's returning all the items in the underlying table and not recognizing that the $offset = 4. If any has any ideas, it would be greatly appreciated.

Thanks in advance,

-Conrad
Reply With Quote