Posted by Torsten Roehr on 01/16/05 01:45
"OOzy Pal" <oozypal@yahoo.com> wrote in message
news:20050115141422.85573.qmail@web50504.mail.yahoo.com...
> Dears,
>
> How can I remove empty cells/places in an array. For
> example:
>
> a[1]='John';
> a[2]='Mike';
> a[3]='Lisa';
> a[4]='';
> a[5]='';
>
> How can I remove a[4] & a[5], so the array is only
>
> a[1]='John';
> a[2]='Mike';
> a[3]='Lisa';
unset($a[4]);
Regards, Torsten Roehr
Navigation:
[Reply to this message]
|