tedteeter;11031011 wrote:The resulting html is while that the link appears only a part of it is part of the link, underlined in blue, and upon clicking only part of the name variable is passed to the page.
HTML is just plain text; unless you're talking about some HTML editor you're using, it can't have text "underlined in blue." I was asking for you to provide us with the raw HTML markup that comprises the "link" - a term I presume refers to an HTML hyperlink.
tedteeter;11031011 wrote:I utilize a lot of generated html, pages and the urlencode may be the only way to go. I was just hoping that there was another way to initially pass the variable rather than decode in numerous places.
For one, no "decoding" should be necessary. You simply need to encode the URL properly so that the webserver will properly and automatically decode it for you.
For example, URLs can not contain spaces. Thus, spaces must be encoded either as '%20' or '+' (depending upon which method of encoding is being used). However, by the time this request is passed along to PHP, the webserver will already have replaced '%20' (or '+') with a space.