Hi
I'm trying to extract the words from this string, I've got as far as getting the first word but can't seem to get the others?
$enums="'red','green','blue'";
if (eregi("([a-z]+)",$enums,$match)) {
$res=count($match);
for($i=1; $i<$res; $i++) {
print($match[$i]."<br>\n");
}
}
Many thanks
Nick