To remove an element inside an array, e.g. the element with the index 1.
$fruit = array("bananas", "apples", "peaches");
unset($fruit[1]);
This will remove the apples from the list, but notice that unset does not change the indexes of the remaining elements. So $fr...