Re: [PHP] Replace space from form field using preg_replace

2004-03-17 Thread Red Wingate
str_replace(" ","+",$var); -- red Vernon wrote: I want to be able to replace a space that comes from a form field (such as in 123 My Street) with a + sign. Can anyone help me with this? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Replace space from form field using preg_replace

2004-03-17 Thread Adam Voigt
http://www.php.net/str-replace On Wed, 2004-03-17 at 15:48, Vernon wrote: > I want to be able to replace a space that comes from a form field (such as > in 123 My Street) with a + sign. > > Can anyone help me with this? > > Thanks -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (

[PHP] Replace space from form field using preg_replace

2004-03-17 Thread Vernon
I want to be able to replace a space that comes from a form field (such as in 123 My Street) with a + sign. Can anyone help me with this? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php