As part of a PHP script I am working on, I am dynamically generating <A HREF=> tags with variables encoded in the URLs. Some of the variables I am using to build the URL for the HREF= part contain spaces, but they are being properly encoded using %20's. What happens is that the script (which is a report) runs, a bunch of line items are printed on the screen, and the user has the option to drill down to see the line item detail. The "drill down" links look like this in code:
print "<a href=\"http://www.mysite.com/show_item_detail.php?var1=$var1&var2=$var2&var3=$var3\">Click here to see details</a>";
On every other browser for mac and windows, this works just fine. In Netscape 4.7 in Mac, the link that shows up on the screen looks like this:
http://www.mysite.com/show_item_detal.php?var1=&var2=&var3=stuff
The really weird thing is that the variables are populated in the script that calls show_item_detal.php and get printed on the screen when testing no problems. THIS CODE WORKS FINE EVERYWHERE ELSE. The user whose Mac I am testing this on downloaded Netscape 6.2 just to test, and the code works fine inside that browser too. It's just 4.7 that is giving me a headache. The users here all love 4.7 for Mac too, which is ruling out forcing people to upgrade. It is the same two variables that lose their values in 4.7 consistently, but they both do not contain spaces or anything else weird. HELP!