Re: [jsantari] paging problem
Hi jsantari,
Do you have an example url where we can see the issue?
My first guess is that when you link to page 1, or 3 of the comments the url looks like this: yourViewer.php?page=3 and getNumberFromEndOfUrl() is mistakenly getting that 3 as the record number.
Some solutions would be to show the comments in an iframe so their url could change without changing the content on the page. Or passing the record num as num=123 and pulling it into the where like this:
'where' => "num = '" .mysql_real_escape_string(@$_REQUEST['num']). "' ",
Hope that helps, let me know if one of those solutions will work for you.
Dave Edis - Senior Developer
interactivetools.com