Re: [PHP-DB] A problem with pagination in PHP

2011-06-16 Thread Taco Mathijs Hillenaar-Meerveld
i have removed them and it works when i remove the $_GET on the locid and catnaam in the first query. it just loads all pictures from the whole table. but i only want the pictures that not only have that certain location id but are in that location aswell. with the query i have now it loads the pi

Re: [PHP-DB] A problem with pagination in PHP

2011-06-15 Thread kesavan trichy rengarajan
Try remiving the single quotes around myPage and showRecords. On 15/06/2011 6:38 PM, "Taco Mathijs Hillenaar-Meerveld" < tm.hillen...@gmail.com> wrote: > Hello everyone, > > I have followed only a short course in PHP and have a book 'PHP for dummies' > but i can't find a solution for my problem. >

[PHP-DB] A problem with pagination in PHP

2011-06-15 Thread Taco Mathijs Hillenaar-Meerveld
Hello everyone, I have followed only a short course in PHP and have a book 'PHP for dummies' but i can't find a solution for my problem. I'm currently working on a photoalbum. most functions work and i started to implement pagination on my photoalbum. where the page script works fine when i get a