I were to go into the address bar and change that & to & amp;... that should really have no effect right?
No . . . from the
address bar,
script.php?var1=abc&var2=def
(in theory) will get parsed as
var1 : abc
amp;var2 : def
In reality, something may be done with the ; to blow that out of the water . . . in any case, when you use entities in HTML pages/script output, and a link is clicked, it is converted to an & by the browser. So if you put it in the address bar, it will be sent as a literal.
If you have this in your script, or are building a string
script.php?var1=abc&var2=def
Dig around for htmlentities(), you're likely applying htmlentities to it and getting
script.php?var1=abc&var2=def
But if you view source, you'll spot it. When the first one is clicked, it displays in the address bar as
script.php?var1=abc&var2=def
[p.s. for the mods... someone needs to fix this new webmasterworld bug that stops & amp; displaying correctly when you type it!]
Which is, I think, exactly what's going on w. Randallk, inversed. :-)
Bug reported [webmasterworld.com], it does it with too.
But Bill, why's it not doing it with your &? Once you figger out what it's doing, it's not that difficult to game. :-) But if they fix it, all my posts with these will be hosed up . . .