how to split the series of no using php -
array([0] => 1,2,3,4,5)
this input pattern have in code. have split value , need output below
array ( [0] => 1, [1] =>2, [2] => 3, [3] =>4, [4] =>5 )
try like
$avalues="1,2,3,4,5"; $myarray = explode(',',$avalues); print_r($myarray);
Comments
Post a Comment