View Single Post
Old 12-14-2012, 09:40 PM  
Killswitch
👏 REVOLUTIONARY 👏
 
Killswitch's Avatar
 
Industry Role:
Join Date: Oct 2012
Posts: 2,304
Quote:
Originally Posted by Webmaster Advertising View Post
So this is doing what it is supposed to now but i had one more question, and im not sure if its possible or not from what ive been reading, i can replace the string for a blank space however, i also read it only works for white space at the beginning or end of a word.

Is there any way i can have this script output a list like this....

onetwo
onethree
twoone
twothree

Instead of like this how it currently does...

one two
one three
two one
two three

If so, what would i put in the code and where would i put it?

Thanks for all the assistance so far
str_replace(' ', '', $var);
__________________
Killswitch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote