Newbie Array Question

I have a variable stored in mySql called colors. It is list of words seperated by commas. When I do a print_r as follows I get result

( [0] => pink,brown,tan )

$arr = array($colors);

print_r($arr);

If I manually type the colors

$arr = array(pink,brown,tan);

print_r($arr);

I get the result I want
( [0] => pink [1] => brown [2] => tan )

What am I missing? Thanks in advance!!!

$colors is a string.
Try $arr = explode(“,”,$colors);

That’s it! This newbie thanks you very much!!!