On Tuesday 30 October 2001 20:33, David Yee wrote:
> Well for that example I'm using 0 as the index for the first element of
> the array, so deleting element #2 results in 3 being deleted. BTW to
> correct myself in the second example I gave I want:
>
> $a = (1,2,4,5) instead of (1,2,3,4).
>
> >
> $a now = (1, 2, NULL, 4, 5), but I want (1, 2, 3, 4).
Thanks.
David
- Original Message -
From: "Sam Masiello" <[EMAIL PROTECTED]>
To: "David Yee" <[EMAIL PROTECTED]>
Sent: Tuesday, October 30, 2001 10:53 AM
Subject: Re: [PHP] Quick array question
>
&
Got it- thanks Philip.
David
- Original Message -
From: "Philip Olson" <[EMAIL PROTECTED]>
To: "David Yee" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 30, 2001 11:27 AM
Subject: Re: [PHP] Quick array questi
t;[EMAIL PROTECTED]>
To: "David Yee" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, October 30, 2001 10:49 AM
Subject: RE: [PHP] Quick array question
> Just found this in the manual notes
>
> http://www.php.net/manual/en/ref.array.php
>
> To delete a
Just found this in the manual notes
http://www.php.net/manual/en/ref.array.php
To delete an element from an array in an easy way, use
unset($array["element"]);...
Funny those... manuals
M:
> -Original Message-
> From: David Yee [mailto:[EMAIL PROTECTED]]
> Sent: 30 October 2001 19:03
5 matches
Mail list logo