Reply to Re: Array function

Your name:

Reply:


Posted by Rik Wasmus on 11/05/07 14:34

On Mon, 05 Nov 2007 14:24:31 +0100, Gandalf <goldnery@gmail.com> wrote:

> hi everyone,
> I'm looking for a function that destroy arrays keys and putt's instead=

> keys from 0 to the array elements number
> it's quite simple i don't know why i couldn't fined it.

$array =3D ....;
$new =3D array_values($array);
unset($array);

> I rather not write my own function because the script is already too
> heavy (it's quite a big array)

Why is it indexed in another way then your needs to begin with?
-- =

Rik Wasmus

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация