Sean Wei says to YSITD
$i = explode('|', $data'); $s = explode(',', $i);