[Solar-talk] Reverse rowsets

Paul M Jones pmjones at solarphp.com
Mon Oct 16 06:57:23 PDT 2006


On Aug 14, 2006, at 8:55 AM, Rodrigo Moraes wrote:

> Hi,
> I'm looking for a way to reverse sql_rowsets, like with
> array_reverse(). Any idea?

One idea is to call toArray(), and then array_reverse() that.   
Another idea is to include a reversing "ORDER BY" clause when  
selecting the rows.  Do either of those help at all?



--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.   <http://solarphp.com>

Savant: The simple, elegant, and powerful solution for
templates in PHP.   <http://phpsavant.com>




More information about the solar-talk mailing list