I have a string "2,8,9,15,"
and want to split it at the "," to extract each integer
I'm using
$tmp1 = explode(",",$str);
echo("$tmp1[0], $tmp1[1], $tmp1[3]");
$tmp2 = split(",",$str);
echo("$tmp1[0], $tmp1[1], $tmp1[3]");
neither work,
is it because they are integers??
help!!!