Array question

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

 



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
...

Thanks


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

  Powered by Linux