|
| |
|
|
yb2
Posts: 653 Joined: 1/30/2006 Status: offline
|
querystrings and ampersands - 4/5/2006 23:56:28
Hi I have a problem. I've http encoded a string ( "Best Practice & Evaluation of Practice" ) to be used as a querystring parameter, but it still breaks on the & http://mysite.com/default.aspx?p=1&q=%22Best%20Practice%20&%20Evaluation%20of%20Practice%22&c=1 Parameter q should come out as "Best Practice & Evaluation of Practice" but I only get "Best Practice "!!!!!!!! Does anyone know how to get around this?????? Any help is much appreciated.
|
|
|
|
Kitka
Posts: 2520 Joined: 1/31/2002 From: Australia Status: offline
|
RE: querystrings and ampersands - 4/6/2006 0:32:37
quote:
Does anyone know how to get around this?????? Have you tried changing the & to the HTML escape sequence code for an ampersand? &|amp; or &|#38; (NB: Remove the pipe I had to add to stop the code from showing as simply "&" in this message)
_____________________________
Kitka **It is impossible to make anything foolproof because fools are so ingenious.**
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|