simple delete from array?
From: Westcoast Sheri (sheri_deb88_at_nospamun8nospam.com)
Date: 07/31/04
- Next message: lawrence: "Re: class can not inherit from another class, why ?"
- Previous message: steve: "Re: Re: Odd variable Bug"
- Next in thread: Shebang O'Reilly: "Re: simple delete from array?"
- Reply: Shebang O'Reilly: "Re: simple delete from array?"
- Reply: Gary L. Burnore: "Re: simple delete from array?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 31 Jul 2004 04:44:31 GMT
Any way to do a simple delete from array?
In other words, what would be the *easiest* (and fastest php runtime)
way to delete "banana" from the following array:
$my_array = array(
"apple",
"banana",
"grape",
"lime"
);
....so that $my_array will now be:
$my_array = array(
"apple",
"grape",
"lime"
);
- Next message: lawrence: "Re: class can not inherit from another class, why ?"
- Previous message: steve: "Re: Re: Odd variable Bug"
- Next in thread: Shebang O'Reilly: "Re: simple delete from array?"
- Reply: Shebang O'Reilly: "Re: simple delete from array?"
- Reply: Gary L. Burnore: "Re: simple delete from array?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|