06-25-2009, 01:43 PM
|
#8 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,258
Thanks: 90
|
If you're wanting to remove one particular index from the array, then you could use the unset construct.
php Code:
$aFruit = array('Apples', 'Oranges', 'Bananas'); /* Remove "Oranges" */unset($aFruit[ 1] ); /* Apples, Bananas */echo implode(', ', $aFruit);
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|