RE: [PHP] another splice?
| From: | Ford, Mike [LSS] | Date: | Thu, 11 Jul 2002 14:20:45 +0000 |
| Subject: | RE: [PHP] another splice? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107133@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: David Duong [mailto:davidduong1@hotmail.com]
> Sent: 10 July 2002 22:57
>
> Is their 1 function method to remove an element within an
> array using its
> key instead of its position within the element?
You mean like unset($arr[$n]) ??
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211