Tris wrote:
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;
The manual has this example
$str = 'string';
$chars = preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY);
print_r($chars);
which prints
Array
(
[0] => s
[1] => t
[2] => r
[3] => i
[4] => n
[5] => g
)
--
Sheila
http://www.shefen.com/
____ The WDVL Discussion List from WDVL.COM ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.