I have to admit, I've managed never to actually run into this - mostly
because I almost never use anchors:
http://www.faqts.com/knowledge_base/view.phtml/aid/317/fid/2
Counter-intuitively, it seems you have to toss the anchor at the end of
the get string. This works in my brief testing - and more importantly,
putting the anchor before the get string didn't work.
I would have thought it would go before though - I suppose the idea is
the anchor gets put on last, and more importantly - stripped off first
(by the browser). It may not be passed to the webserver at all.
/me checks access log
Nope - anchor's aren't passed in the request. So, yeah - it's only used
by the browser. (That makes sense - the point of anchors is to go to a
spot within a page)
Neat, ya learn something new every day.
Cheers,
- Martin Norland, Database / Web Developer, International Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
-Original Message-
From: Perry, Matthew (Fire Marshal's Office)
[mailto:[EMAIL PROTECTED]
Sent: Friday, November 12, 2004 9:58 AM
To: PHP DB
Subject: [PHP-DB] passing both an anchor and a variable
How do you append both an anchor and a variable to a URL with PHP?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php