Possible Duplicate:
Split into two variables?
I have a variable that will output two words. I need a way to split this data into two separate words, and specify a new variable for each separated word. For example:
$request->post['colors']
If the output is string "blue green", I need to split those two colors into separate variables, one for blue and one for green,
...eg $color_one for blue, and $color_two for green.