PHP Code:
//Given that $MyString holds the line:
//"green", "blue", "yellow, red", "orange"
//You will get $Array_of_things with each one seperated. The space and quotes need to be set up like you said. With quote then comma then space then quote again.
$Array_of_things = str_replace("\"","",explode("\", \"", $MyString));
//Now you can use
print_r($Array_of_things);
//Or use a
foreach($Array_of_things as $Key => $String)
{
echo "$Key => $String<br />";
}