I would like to know how to page through database records using PHP. I have searched this forum and have not found anything useful except something about "limits" used in MySQL. I really need this to be database nuetral since I may have to use an Access database to run it. I easily found and used ASP code that does this. I have an example of exactly what I need to do here:
http://www15.brinkster.com/amarjaa/nursery/forphp.asp?doll=Tasha
(this was done for a database I had with pics from my doll collection)
I have a table with 10 records that are the picture names. I want to display 6 pics on each page and have next and previous buttons as well as the number of pages of pictures there are displayed. Using the ASP code I found, all I had to do was insert the code into my script and change 1 variable which is the number of records to display per page. I am using an Access database for this particular page, but I have used this exact code with a MySQL database also.
If anyone knows how to do this or knows a site where I can find out how, PLEASE let me know. I really need to find a new web host and I can't find a cheap one that allows ASP scripting. Also, if you know of a web host that offers ASP scripting for less than $10/month (and charges by the month), please fill me in, lol 🙂
Thanks,
Nicole