What is the difference between "&" and "?" in
http://www.website.com/count.php&sessionid=myid
and
http://www.website.com/count.php?sessionid=myid

Thanks,
ikel

Recommended Answers

All 2 Replies

Well, for as far as I know the ? indicates the start of a query string, while & indicates the start of a new key/value pair inside that query string. E.g.:

website.com?key=value&key2=value2&this=that

The ? indicates the start, the & separates the key/value pairs.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.