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???

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...

Okay, well see

can you post the whole code of that page please? thank you

yes, i'll pm you the code if you don't mind ;)

Okay ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.