2009/4/17 Jay Blanchard <jblanchard@xxxxxxxxxx> > [snip] > I was thinking that you create a form with one input box, which would > insert > into the search box for the lmgtfy link. One of the questions I have is > how > would I convert or insert a + sign in between the search words. > > For example, if I created the input, someone insert "search, php, > forum", > how would I convert it to http://www.lmgtfy.com/?=search+php+forum...? > [/snip] > > You would start by RTFM; > > http://us3.php.net/manual/en/function.str-replace.php > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Shouldn't that be: http://lmgtfy.com/?q=php+function.str-replace.php ;)