Donny Bahama Posted February 9, 2018 Share Posted February 9, 2018 If I want to link to a section/element within a page, and also pass GET parameters, which would be correct: http://mysite.net/thispage.php#section1?ref=123 OR... http://mysite.net/thispage.php?ref=123#section1 Or, if neither is correct, what's the right way? Link to comment Share on other sites More sharing options...
Donny Bahama Posted February 9, 2018 Author Share Posted February 9, 2018 I did some trial and error. In case anyone else needs to know, the second example worked. The first example did not. Link to comment Share on other sites More sharing options...
justsomeguy Posted February 9, 2018 Share Posted February 9, 2018 URLs take this form, things in brackets are optional: scheme:[//[user[:password]@]host[:port]][/path][?query][#fragment] 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now