html - '&' inside a parameter breaks url -
i have problems character '&' in url. have 3 string , in 1 of there text character '&'.
example:
"monsters & co."
i have take 3 string pass them in url page. example:
<a href="http://www.pageexaaa.com?param1=aaa¶m2=bbb¶m3=monsters & co.">link</a>
but on second page can see third parameter monsters
because url thinks & new parameter.
how can do? everyone.
replace &
%26
forexample see url http://www.google.com/search?sourceid=chrome&ie=utf-8&q=%26
so in case
<a href="http://www.pageexaaa.com?param1=aaa¶m2=bbb¶m3=monsters %26 co.">link</a>
Comments
Post a Comment