extracting value from array
| From: | afan at sprout dot net | Date: | Tue, 31 Jul 2001 00:31:33 +0000 |
| Subject: | extracting value from array | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8581@lists.php.net to get a copy of this message | ||
Hi all,
my problem is following:
let's say there is an array with 10 elements.
$array = array('$value1', '$value2', '$value3', '$value4',
'$value5', '$value6', '$value7', '$value8',
'$value9', '$value10');
One of elements has value 'xyz123' - I do not know which one.
How can I extract this element from the array and have a new array with all other element, except
extracted one.
Any idea?
Afan Pasalic