PHPでカンマ区切りの文字列を配列に代入したい場合は、explode()を使います。
コード例
<?php
$thai_food = "カオソーイ,カオマンガイ,パッタイ,ソムタム";
$thai_food_array = explode(",", $thai_food);
var_dump($thai_food_array);
?>
上の例の出力は以下になります。
array(4) { [0]=> string(15) "カオソーイ" [1]=> string(18) "カオマンガイ" [2]=> string(12) "パッタイ" [3]=> string(12) "ソムタム" }