Zen Follower
- Join Date:
- Aug 2011
- Posts:
- 122
- Plugin Contributions:
- 0
Get amount of returned rows with $query->EOF ?
Hi,
I have created a admin module to help with book keeping. I couldn't find one anywhere, and so created my own.
Basically its an order sheet with all the info of all the orders / fee's etc which is what our accountant requires. (got really fed up of doing this manually in excel).
All is working well, but i think it would be better to get a row count of all the orders returned (it uses date ranges).
I have used this to loop though all the returned rows:
while (!$orders->EOF) {
How do I find out how many items are inside $orders?