For Programmers: Free Programming Magazines  


Home > Archive > PHP SQL > June 2006 > Paging with PHP?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Paging with PHP?
Laphan

2006-06-17, 8:10 am

Hi All

Apols for my volley of questions that will be winging their way to this NG,
but I'm a ASP programmer moving over to the dark side :0)

My first question is, is it possible to page data using PHP like you can
with ASP?

I'm sure it is as I used to use oRSV.GetRows in ASP to get the whole
recordset into an array and then work on it using divisions, mods and
things, but I don't know if it is easier or harder in PHP.

Can you help?

Thanks

Laphan


Virginner

2006-06-17, 8:10 am

"Laphan" <info@SpamMeNot.co.uk> wrote in message
news:128bn91oift032f@corp.supernews.com...
| Hi All
|
| Apols for my volley of questions that will be winging their way to this
NG,
| but I'm a ASP programmer moving over to the dark side :0)

Welcome to the light....

| My first question is, is it possible to page data using PHP like you can
| with ASP?

Yes, but better, faster, more open, less hassle etc.

| I'm sure it is as I used to use oRSV.GetRows in ASP to get the whole
| recordset into an array and then work on it using divisions, mods and
| things, but I don't know if it is easier or harder in PHP.

Easier.

Just go to php.net and download the manual. I'm assuming you're talking
about getting data from a database? In which case which one? With PHP you
can use 'em all. Simply use the appropriate functions, eg.
mysql_fetch_array and juggle as normal...

D.




Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com