[Tutor] Query String

Alan Gauld alan.gauld at btinternet.com
Tue Feb 19 10:14:45 CET 2013


On 19/02/13 07:30, Sunil Tech wrote:
>
> Here i request, can you tell me what is Query String with some examples?

It depends on the context but I suspect you mean in the context of a web 
app? In that case a query string is the bit at the end of a URL that 
includes the search parameters etc. Thus if I do a search on Google for 
"query string" the url used is:

https://www.google.co.uk/#hl=en&sugexp=les%3B&gs_rn=3&gs_ri=psy-
ab&tok=XeR8I7yoZ93k_zpsfFWQeg&cp=8&gs_id=i7&xhr=t&q=query+string&
es_nrs=true&pf=p&tbo=d&biw=1375&bih=897&sclient=psy-ab&oq=query+st&
gs_l=&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&bvm=bv.42553238,d.d2k&
fp=e58955d3a8f3f3a1

And everything after the uk/ is the query string.

That particular search brings back lots of links about query strings.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list