You are here: Re: [PHP] Removing Items from an Array « PHP « IT news, forums, messages
Re: [PHP] Removing Items from an Array

Posted by Paul Waring on 10/12/05 19:26

On Wed, Oct 12, 2005 at 05:24:11PM +0100, Alan Lord wrote:
> I'm really struggling here! I have a large, multi-dimensional array that
> I want to "clean-up" a bit before committing to a database.

How big an array? You could just go create another array of the same
structure and copy the values across (and the keys too if it's an
associative array) then remove all references to the old array and
commit the new one to the database..

Paul

--
Rogue Tory
http://www.roguetory.org.uk

 

Navigation:

[Reply to this 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

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