Ok I have a php page that allows a person to created a new record in a database. This particular record is just one field. The problem is I have another page that displays all the records as links to another page with a parameter of the record name.
example: Lets say a record was created called "Computer Hardware".
Another page I have would build a link like:
http://bla.bla.com/bla?record=Computer Hardware
Well you can see the problem. SPACES! How can I convert all spaces to _ so that when a new record is added and the name entered has a space such as Computer Hardware it would be actually put into the database as Computer_Hardware.
Thanks in advance.