str_replace On Mon, 25 Nov 2002, Jami wrote:
> I need help once more. I have a variable that is a string with spaces. What I need >to do is put a "+" sign in the spaces so that the string will print like >"This+is+a+string." I have tried using implode, but I get this error: > > Warning: Bad arguments to implode() > > The code I am using is as follows: > > $prod = implode("+", $_POST['product']); > > Is this the correct thing to use, or is there another way to change the string? > > Thanks. > > Jami > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php