Re: Only showing 20 lines per page...
- From: "Mike" <mike@xxxxxxxxxxxxxxxxxxxxx>
- Date: 16 Jul 2006 10:28:17 -0700
With a simple calculation of records per page, total records & requestedI thought mysql_fetch_array() did store the results in an array?
pagenumber you'll only have to retrieve the relative resultset from the
database, which will mean less resource use with both database & PHP. Your
mentioning of 'storing the results to an array and looping through that way'
get's me a bit confused. It'd be a waste to turn it into an array, and then
proceed. Why not mysql_fetch_array() the rows and perform your desired
actions immediately?
Mike
.
- Follow-Ups:
- Re: Only showing 20 lines per page...
- From: Mike
- Re: Only showing 20 lines per page...
- From: Rik
- Re: Only showing 20 lines per page...
- References:
- Only showing 20 lines per page...
- From: Mike
- Re: Only showing 20 lines per page...
- From: Rik
- Only showing 20 lines per page...
- Prev by Date: Re: Only showing 20 lines per page...
- Next by Date: Re: Rik--perhaps you know
- Previous by thread: Re: Only showing 20 lines per page...
- Next by thread: Re: Only showing 20 lines per page...
- Index(es):
Relevant Pages
|