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]
|