urlencode or rawurlencode.. The first one is what your browser user I think.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Ross Honniball" <ross@xxxxxxxxxxxxxxxxxxx> skrev i meddelandet news:6.0.0.22.1.20040731185645.01d9b6b0@xxxxxxxxxxxxxxxxxxxxxxx > Hi All, > > I'm just trying to link to a url with a parameter that contains spaces and > other special characters. ie. > > <a href="http://localhost/apps/jc_areas.php?area=Arts Pol+His"> > > which of course doesn't work (space and + sign are problems). > > Can someone please point me in the right direction to what php function > escapes characters or whatever it has to do? > > Help much appreciated ... Ross > . > . Ross Honniball. JCU Bookshop Cairns, Qld, Australia. > . -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php