Re: [PHP] How to drop a element from an array

2002-10-06 Thread Alex Shi
- From: Alex Shi [mailto:[EMAIL PROTECTED]] Sent: Monday, 7 October 2002 8:43 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] How to drop a element from an array Yes I have read about the array functions in the manul. But I don't think they are what I need. What I want is to drop what ever an

Re: [PHP] How to drop a element from an array

2002-10-06 Thread Stuart Dallas
Alex Shi wrote: > Is there a good way do drop an element from an array? Unset (http://www.php.net/unset) the element and it will be removed from the array. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How to drop a element from an array

2002-10-06 Thread John W. Holmes
That adds an element to an array. Just use unset. unset($array[0]); ---John Holmes... > -Original Message- > From: Timothy J Hitchens [mailto:[EMAIL PROTECTED]] > Sent: Sunday, October 06, 2002 6:41 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] How to drop a elemen

RE: [PHP] How to drop a element from an array

2002-10-06 Thread Timothy J Hitchens
poken! > > > > > > > -Original Message- > From: Alex Shi [mailto:[EMAIL PROTECTED]] > Sent: Monday, 7 October 2002 8:35 AM > To: [EMAIL PROTECTED] > Subject: [PHP] How to drop a element from an array > > > Is there a good way do drop an element from an

Re: [PHP] How to drop a element from an array

2002-10-06 Thread Alex Shi
> -Original Message- > From: Alex Shi [mailto:[EMAIL PROTECTED]] > Sent: Monday, 7 October 2002 8:35 AM > To: [EMAIL PROTECTED] > Subject: [PHP] How to drop a element from an array > > > Is there a good way do drop an element from an array? > > Alex Shi > > >

RE: [PHP] How to drop a element from an array

2002-10-06 Thread Timothy J Hitchens
Hint... look at array_push etc (like a stack) Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Alex Shi [mailto:[EMAIL PROTECTED]] Sent: Monday, 7 October 2002 8:35 AM To: [EMAIL PROTECTED] Subject: [PHP] How to drop a element from an array

[PHP] How to drop a element from an array

2002-10-06 Thread Alex Shi
Is there a good way do drop an element from an array? Alex Shi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php