How can I convert this string to an array? code: <?php $string ="10, 23, 35, 46, 57"; $test = array($string); echo($test[0]); ?> thank you
$test=explode(", ",$string);