Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

page anchor problem

Status
Not open for further replies.

buzzt

Programmer
Joined
Oct 17, 2002
Messages
171
Location
CA
I am displaying the results of my search at the bottom of my search page. I have tried to submit the information with a page anchor like this:

[blue]echo &quot;<a href=\&quot;results.php#1?results=$result\&quot;>Link</a>&quot;;[/blue]

but in doing so, get no results. Is there any way to show the pag at the start of the results like a page anchor [blue]<a href=results.php#1>Link</a>[/blue] would?

 
Put the anchor at the end of the link.
Code:
echo '<a href=&quot;results.php?results=&quot;'.$results.'#1&quot;>Link</a>';

-Rob
 
Perfect! Thanks a bunch!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top