[thelist] PHP, 8 digit string, to 8 item array..

Tris beertastic at gmail.com
Tue Jan 16 09:53:08 CST 2007


I wanna take an Int (eg: 48392034)
and make an array:
$myArray[0] = 4;
$myArray[1] = 8;
$myArray[2] = 3;
$myArray[3] = 9;
$myArray[4] = 2;
$myArray[5] = 0;
$myArray[6] = 3;
$myArray[7] = 4;

I've looked at substr, ut it doesn't relal yhelp, as there's no
characters to split by..
what am I missing?

Tris...

-- 
When a person can no longer laugh at himself, it is time for others to
laugh at him.
Thomas Szasz



More information about the thelist mailing list