Remove a child from an array in PHP?

Posted by php_okayman on Stack Overflow See other posts from Stack Overflow or by php_okayman
Published on 2010-03-18T15:39:21Z Indexed on 2010/03/18 15:41 UTC
Read the original article Hit count: 370

Filed under:
|
|

Lets say I have this array:

$queue = array("orange", "banana", 'apple', 'watermelon');

If I want to remove any of them,for example I want to remove banana, how to do it?

© Stack Overflow or respective owner

Related posts about php

Related posts about array