[thelist] PHP and anchors

Matthew Haughey matt at haughey.com
Sat Jan 13 14:06:31 CST 2001

At 01:07 PM 1/13/2001 -0500, you wrote:
> >you gotta make it:
> >options.php?user=Mr.%20P&page=1#anchor
>I'm not sure what you have with the
>first one; I tried it, and it didn't work before.

If the PHP processor is dropping your anchors after following links, you 
might want to try replacing the # symbol with %23. It's the same symbol, 
and although you can see it in links, it won't show up in the URL bar. For 
some reason, microsoft's windows-based web servers have a tendency to chop 
off that # sign on complex pages.

(I'm assuming you have the target specified in the text properly <a 
name="anchor"></a> where you want the page to scroll to)


More information about the thelist mailing list