Re: convert associative array to ordinary array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thank you, it works!

--- Casey <heavyccasey@xxxxxxxxx> wrote:

> On Fri, Mar 28, 2008 at 10:33 AM, Daniel Brown
> <parasane@xxxxxxxxx> wrote:
> > On Fri, Mar 28, 2008 at 2:27 PM, It Maq
> <itmaqurfe@xxxxxxxxx> wrote:
> >  > Hi,
> >  >
> >  >  i have an associative array and i want to use
> it as an
> >  >  ordinary array, is that possible?
> >  >
> >  >  what i mean is instead of $arr['fruit'] i want
> to call
> >  >  it   by its position in the array $arr[3]
> >
> >     Did you try?
> >
> >  --
> >  </Daniel P. Brown>
> >  Forensic Services, Senior Unix Engineer
> >  1+ (570-) 362-0283
> >
> >
> >
> 
> $numbered_array = array_values($associative_array);
> 
> -- 
> -Casey
> 



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux