Re: Deleting elements from the middle of an array
| From: | Paul M Foster | Date: | Tue, 15 Mar 2011 16:05:40 +0000 |
| Subject: | Re: Deleting elements from the middle of an array | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311865@lists.php.net to get a copy of this message | ||
On Tue, Mar 15, 2011 at 07:08:28AM +0100, Peter Lind wrote:
> On Mar 15, 2011 4:10 AM, "Paul M Foster" <[1]paulf@quillandmouse.com>
> wrote:
> >
> > On Mon, Mar 14, 2011 at 10:14:53PM +0100, Peter Lind wrote:
> >
> > > On 14 March 2011 22:10, Paul M Foster <[2]paulf@quillandmouse.com>
> wrote:
> >
> > [snip]
> >
> > > >> Remove the elements, then use sort().
> > > >
> > > > I've given a simplified example. The actual target array is
> > > > multi-dimensional. Sort() won't work in a case like that, as far as
> I
> > > > know. Moreover, I don't want the array sorted based on the element
> > > > values.
> > >
> > > Ahh, I see - you wanted me to guess at the actual circumstances of the
> > > case instead of provide an answer to the example you posted. My bad.
> >
> > Is the sarcasm really necessary?
> >
>
> Without it, would you learn to post the actual details instead of
> something irrelevant? If yes, then my apologies.
Your sarcasm taught me more about you than about how to properly post to
a mailing list.
"Help" wrapped in a barbed package I can do without. Please feel free to
ignore any requests for help from me in the future. Likewise, I will
return the favor by ignoring any "help" you may give.
Paul
--
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com