Thread: Paging with PDO
View Single Post
Old 02-08-2013, 02:55 PM   PM User | #2
TFlan
New Coder

 
Join Date: Dec 2012
Location: USA
Posts: 82
Thanks: 3
Thanked 17 Times in 17 Posts
TFlan is an unknown quantity at this point
Just use math to manipulate the row index you are trying to achieve (i believe this is what you're trying to do).

So if your limit $startLim, $endLim, for example $startLim = 30; $endLim = 50, that gives you 20 rows, to get $i to start at 30, $i = $startLim - which lets you use loops easier

Again - Not sure what your problem is
TFlan is offline   Reply With Quote
Users who have thanked TFlan for this post:
telmessos (02-08-2013)