Is there any way to indicate in a URL query string that the value should be treated as an integer rather than string? -



Is there any way to indicate in a URL query string that the value should be treated as an integer rather than string? -

the classic query string page?field1=john&field2=123

every server-side framework interpret field1 "john" , field2 "123".

is there way client indicate in query, 'please treat field2 123 (an integer) , not "123" (a string)'?

i know can have server-side code intelligent , know field2 supposed integer, , parse integer, on client?

url query-string urlencode url-encoding

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -