Re: [PHP] anchor name on URL

2008-11-18 Thread Yeti
If you do not escape the name attribute you might run into trouble when using XHTML. Always escape attributes properly. GOOD: Click me Click me too HEREDOC; ?> BAD: Click me'; echo 'Click me too'; ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] anchor name on URL

2008-11-18 Thread tedd
At 12:25 PM -0600 11/18/08, Stan wrote: If I had a page written in HTML and I had a named anchor on that page I could position the user at the anchor by http://myPage.com/myHTML.htm#myAnchor but I can't seem to make this work if the page is generated http://mypage.com/myPHP.php#myAnc

Re: [PHP] anchor name on URL

2008-11-18 Thread Daniel Brown
On Tue, Nov 18, 2008 at 1:25 PM, Stan <[EMAIL PROTECTED]> wrote: > If I had a page written in HTML and I had a named anchor on that page > > I could position the user at the anchor by >http://myPage.com/myHTML.htm#myAnchor > but I can't seem to make this work if the page is generated >h

[PHP] anchor name on URL

2008-11-18 Thread Stan
If I had a page written in HTML and I had a named anchor on that page I could position the user at the anchor by http://myPage.com/myHTML.htm#myAnchor but I can't seem to make this work if the page is generated http://mypage.com/myPHP.php#myAnchor I've tried both FireFox 3.0.4 and IE