On 16-Apr-2004 Flavio Fontana wrote: > Hi > > I have i Problem i got a variable a=2351 now i need to create an > array out of this variable > a[0]=1 > a[1]=3 > a[2]=5 > a[3]=1 > > I have an idea to use the modulo function an do some Math but im sure > there is a nicer way of solving my prob >
$a = preg_split('||', $a, -1, PREG_SPLIT_NO_EMPTY); Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php