ynotlim
07-15-2008, 05:28 PM
hello coders,
I need help parsing a string into different sets.
ie
$xyz = "1-5-6-10-11-15"
and I want to put them all in separate variables. so
$x[0]=1;
$x[1]=5;
$x[2]=6;
$x[3]=10;
$x[4]=11;
$x[5]=15;
thanks for the help.
-Tony
I need help parsing a string into different sets.
ie
$xyz = "1-5-6-10-11-15"
and I want to put them all in separate variables. so
$x[0]=1;
$x[1]=5;
$x[2]=6;
$x[3]=10;
$x[4]=11;
$x[5]=15;
thanks for the help.
-Tony