Reply to Re: how to clear an array

Your name:

Reply:


Posted by jj on 10/13/16 11:28

sentinel have you "reset" your array? i know i had a similar problem where
my arrays size would not shrink after taking out values from it and would
still be the old size. even if you put in 3 values your array will still be
6 from the last pass unless you reset it


"Sentinel" <support@elma.hr> wrote in message
news:xn0e839it4mts1001@news.t-com.hr...
> JDS 03.10.2005 19:40:49
> <pan.2005.10.03.17.40.49.460409@example.invalid>
> jeffrey@example.invalid alt.php JDS
>
> > On Mon, 03 Oct 2005 09:51:34 +0200, Sentinel wrote:
> >
> > > how do i empty/clear the array?
> >
> > unset()
>
> my error...
>
> what is the correct way to see if the array is positioned at the last
> row?
>
> while (array) {
> if (first row) {do something}
> do something else
> if (last row) {do something else 2}
> }
>
> --
> Will work for bandwidth!

[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

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