If I have a string $input and explode it into an array like this, then $arr should contain each of the four words
$input = "hello everybody at here";
$arr = explode(" ",$input);
But I would like to get all combination possibilities, like this:
hello everybody at here
hello everybody at
hello everybody
hello
everybody at here
etc
How can I do this? :D
Thanks