View Single Post
Old 29th June 2008, 06:44 PM   #1 (permalink)
urbanxtremes
Registered User
 
urbanxtremes's Avatar
 
Join Date: Aug 2004
Location: London
Posts: 87
Geting rid of spaces in a url

Hello,

Does anyone know of a way that I can remove the spaces from a link and place an underscore; the link is calling the page "header" and "id" from the database.

<a href='news_content.php?id=$id=$hpagesheader' title='$hpagesheader'>

This is what I am getting in the url:
news_content.php?id=4=What%20not%20to%20do%20on%20 an%20internship

But I would like this:
news_content.php?id=4=What_not_to_do_on_an_interns hip

Any ideas?

Cheers
__________________
~~~~~~~~~~~~X~~~~~~~~~~~~

Who Cares?

~~~~~~~~~~~~X~~~~~~~~~~~~
urbanxtremes is offline   Reply With Quote