Click to See Complete Forum and Search --> : The ? in URLS


aoeguy
10-20-2003, 01:20 PM
How do you use them in pages???

AdamGundry
10-20-2003, 01:58 PM
The text after the ? is known as the GET query string, and is usually used for things like search engines (which is why you use window.location.search in Javascript). In other languages, the syntax is obviously different - for example, PHP uses $_GET['variable_name']. It really depends on what you want to do - all GET queries allow is passing basic data between pages.

Adam

PeOfEo
10-20-2003, 05:03 PM
Other things you might notice in urls is the long strings of numbers and characters that do not seem to be divided up by ?'s and &'s. That is where the url is being parced by the server to include session data from a data base.

aoeguy
10-21-2003, 04:51 AM
Thanks for telling me how to use it :)