Re: Array question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 08 November 2002 17:25, nikos wrote:
> Does anybody know how to remove an item from an array?
> Let's say
>
> $array('banna', 'apple','cherry')
> foreach ($array as $value) {
>     if ($value=='chery') DELETE $value FROM $array
> ...

unset().


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *


/*
Kiss me, Kate, we will be married o' Sunday.
		-- William Shakespeare, "The Taming of the Shrew"
*/


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux