I have a self contained PHP form where I get the user to pick a couple of things first (Country and then State or Province), and then based on that, it displays the Sales Reps for their region.
However, I'm running into a problem with variables that have spaces in them being passed.
For example, If I select USA and then New York out of the combo box, the variable is only getting passed as "New".
I changed the form action to GET to look at the strings and this is what the New York string looks like:
state=New%A0York
What the heck is %A0? I tried putting this in my if statement
if ($state == "New%A0York") but that didn't do any good either.
Any suggestions on how to overcome this spacing problem?
BTW, i tried using the HTML as well as %20 and neither of those worked either.
Oh yeah, and register globals is on.