By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,716 Members | 1,305 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,716 IT Pros & Developers. It's quick & easy.

Anchor position

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
.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.