0

Hi,
I have a php code that lists the contents of one of the tables in my database. At the bottom of the listing, there is code that takes you to the next 10 results. Problem is, when I test it out, I am being redirected to a comcast search page with the url: http://search2.comcast.com/?cat=dnsr&con=ds&url=search.php

Here is the line of code I think is the problem...

echo '&nbsp;<a href="\\'.$_SERVER['PHP_SELF'].'?s='.$news.'&q='.$var.'">Next 10&gt&gt</a>';

How do I get the code to display the next 10 records instead???

Edited by lwaterfo: n/a

2
Contributors
5
Replies
6
Views
6 Years
Discussion Span
Last Post by MooGeek
0

Hi,
Thanks a lot..but how would I change the statement above so that it works? Would I have to change my entire code or just the one line?
I am clueless about php..sorry...

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.