Jump to content

[SOLVED] Inserting values with spaces in to text


kiowa_jackson

Recommended Posts

Say I have a variable $ins, and on my site I use

 

<h1>Welcome to my site about <?php echo $_GET['ins']; ?>!</h1>

 

is there anyway I can set the $ins to contain spaces in it? Say I want the phrase "vintage motor boats" to appear in the headline.

Since I can't use spaces in the url, right now I have to use the value "vintage-motor-boats", which looks terrible in the headline. Is there any way around this?

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.