Oke ik found the greatest paging scripts allowing for a limitted display of links a first and last link all great. However none of them actualy calls a page by his id the records gets devided and called by some variable like ?page=1 etc. Now idd like to be able to call the selected records by id like script.php?id=1 etc. Is that possible and usual or just plain weird and disfunctional? And how would i go about getting done? Any suggestions? thanx a bunch.
Koen.
when you have: script.php?id=1
in the address bar, php makes a variable out if it. it is the same thing as this: <? $id=1; ?>
i had a hard time understanding the question, but i hope this helps.
I am sorry ive explained it so poorly 🙂 The thing is ive got one table harboring records from my main menu and my submenu . The main menu is a listbox wich just prints out the records where the subid in the records = "0". To print out the submenu idd like to use the paging script but the query results in a subset so fr example the paging sumenu would be calling id 4,7,9,22 etc. The paging script just runs through its array but idd like it to print out the corresponding id's and attach them to the link like: <$phpself?action=sub&PID=4 or 7 or whatever the result. The paging script only checks the count of the records found and the adds ?page=1 or 2 etc. I hope ive explained a little better this time 🙂 Do u have any idea how to taccle this? thanks.