Array function to delete
| From: | Liam Gibbs | Date: | Thu, 25 Apr 2002 19:22:57 +0000 |
| Subject: | Array function to delete | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-94633@lists.php.net to get a copy of this message | ||
I've been checking the PHP documentation, but can't
find a function that will delete a member of an array,
like such:
$a = array(1, 2, 3, 4, 5);
Use the function, say array_delete($a, 3); and that
will delete the third member in the array (which would
be 4 above), so that the array would contain 1, 2, 3,
5.
Is there such a function?
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/