ab123
11-20-2006, 01:19 AM
Could someone please help me on a little problem iam having...:thumbsup:
I have a script ye that i need pagination on..ive tryed loads of pagination scripts but still no luk...
iam trying to select links from db thats in a category.....
here is what ive tred up 2 now.
$cat= $_GET[cats];
$query="SELECT * FROM thelinks WHERE catid=$cat";
more paginination code here etc............
$query="SELECT * FROM thelinks WHERE catid=$cat LIMIT $start,$limit";
echo out the pages etc........
but i havnt a clue how to pagaination from a category..like this lol.......
(category)tutorials >> display the links but with pagination
(category)Templates >> display the links but with pagination
my link shud be like this: ?catid=$cats&page=$i
its giving me a head ake because in the mysql i need to use a category aswell....
please help its been bugging me for days..........
I have a script ye that i need pagination on..ive tryed loads of pagination scripts but still no luk...
iam trying to select links from db thats in a category.....
here is what ive tred up 2 now.
$cat= $_GET[cats];
$query="SELECT * FROM thelinks WHERE catid=$cat";
more paginination code here etc............
$query="SELECT * FROM thelinks WHERE catid=$cat LIMIT $start,$limit";
echo out the pages etc........
but i havnt a clue how to pagaination from a category..like this lol.......
(category)tutorials >> display the links but with pagination
(category)Templates >> display the links but with pagination
my link shud be like this: ?catid=$cats&page=$i
its giving me a head ake because in the mysql i need to use a category aswell....
please help its been bugging me for days..........