I'm doing a search to an external mapping program from dbman. With IE Explorer 5.0 I have no problems but with Netscape 4.51 I have problems. The issue is spaces in a city name.
I have a datbase with City, State and Postal Code fields among others.
I pass the value of these fields to the external cgi program as follows.
print qq|<a href="http://www.mapblast.com/mblast/map.mb?loc=us&CMD=GEO&AD2=$rec{'Address1'}&AD3=$rec{'City'}+$rec{'Postal_Code'}"> other code goes here </a>
Now with IE 5.0 the Address1 field which has spaces in it are automatically converted to %20 character and the routine works fine.
Netscape doesn't do any conversion and thus the routine doesn't work.
My question -- is there an easy way to do the conversion prior to the <a href link.
I could test those three fields above Address, City and Postal Code for spaces and Convert them -- any ideas on how to do this?
Or is there another work around the browser anomolies.
I have a datbase with City, State and Postal Code fields among others.
I pass the value of these fields to the external cgi program as follows.
print qq|<a href="http://www.mapblast.com/mblast/map.mb?loc=us&CMD=GEO&AD2=$rec{'Address1'}&AD3=$rec{'City'}+$rec{'Postal_Code'}"> other code goes here </a>
Now with IE 5.0 the Address1 field which has spaces in it are automatically converted to %20 character and the routine works fine.
Netscape doesn't do any conversion and thus the routine doesn't work.
My question -- is there an easy way to do the conversion prior to the <a href link.
I could test those three fields above Address, City and Postal Code for spaces and Convert them -- any ideas on how to do this?
Or is there another work around the browser anomolies.