Ok guys, I was curious if someone could read over this code and let me know why it won't paginate correctly. I've replaced all "sensitive" information with *'s, but everything works great except for the paginate part. I'm currently trying to make it paginate one row of data from my database at a time until I get the swing of it, so that's why the code is set up this way, however it doesn't paginate the data at all. Instead it adds 1 to the startrow in the GET URL everytime you click the "next" link. Kind of like this:
Original Query String URL:
http://www.*****.com/php/*****.php?startrow=0
3 examples of what happens when you click the "next" link 3 times in a row:
http://www.*****.com/php/*****.php?startrow=1
http://www.*****.com/php/*****.php?startrow=2
http://www.*****.com/php/*****.php?startrow=3
while that looks great in the URL, it doesn't change the data displayed at all.
Here's the code (I didn't include the display code for how the data looks when it's pulled from the query, I didn't think that really applied to this question and it works great as is):