homepage Welcome to WebmasterWorld Guest from 54.196.207.55
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Sorting a Zend DbTable Rowset
should be simple but im not sure lol
delboy1978uk




msg:4455885
 10:33 am on May 21, 2012 (gmt 0)

hi guys, Ive started using Zend Db Table Relationships now for grabbing all my data, but i have a question:

My db has properties, tenants, and accounts

each property has a tenant
each tenant has several months worth of accounts

i'm trying to grab everything in order of money owed
so i fetch properties,
and foreach i grab the current tenant and then grab the accounts for that tenant

but i need to sort all the properties by the tenant who owes the most, and im not sure how to do that from a zend rowset thats already been fetched. any ideas?

 

coopster




msg:4460628
 10:59 pm on Jun 1, 2012 (gmt 0)

I don't use Zend ...
*bump*
No other Zend users around here?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved