WAVE Log
カンマ区切りデータを配列にする

explode 関数は指定した区切り文字によって、文字列を分割して配列にする。

$data = "りんご,みかん,いちご,メロン,バナナ"; $sample = explode(',',$data);