Using preg_split() to Break Up Strings
<? $text = "a, o, p"; $fruitarray = preg_split( "/, | and /", $text ); print "<pre>\n"; print_r( $fruitarray ); print "</pre>\n"; ?>