Hi,

Saturday, April 17, 2004, 7:00:49 AM, you wrote:
FF> Hi

FF> I have i Problem i got a variable a=2351 now i need to create an array out of this 
variable
FF> a[0]=1
FF> a[1]=3
FF> a[2]=5
FF> a[3]=1

FF> I have an idea to use the modulo function an do some Math but
FF> im sure there is a nicer way of solving my prob

FF> thx Flavio


If you treat the variable as a string it is already an array of
characters

try echo $a{0};

-- 
regards,
Tom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to