468,296 Members | 1,309 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,296 developers. It's quick & easy.

Anchor position

Hi,

Could anyone teach me how to set anchor for a php link?

Is the following right?
www.test.com?abc=1#anchor_name

Or the following?
www.test.com#anchor_name?abc=1

Or both are wrong?

Besides, could I go to anchor position by PHP command?

Thanks!
Jul 17 '05 #1
1 2760
.oO(terry)
Could anyone teach me how to set anchor for a php link?
It's called a fragment identifier and has nothing to do with PHP,
because it's handled by the client.
Is the following right?
www.test.com?abc=1#anchor_name
Yep. The fragment identifier is not considered part of the URL, so it
has to be appended to it.
Or the following?
www.test.com#anchor_name?abc=1
This is wrong.
Besides, could I go to anchor position by PHP command?


Not sure what you mean.

Micha
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by yawnmoth | last post: by
2 posts views Thread by James | last post: by
2 posts views Thread by Rob McKenna | last post: by
8 posts views Thread by knoxautoguy | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.