Posted by Mike on 07/16/06 17:28
> With a simple calculation of records per page, total records & requested
> 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?
>
I thought mysql_fetch_array() did store the results in an array?
Mike
Navigation:
[Reply to this message]
|