Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

remove array element in php

<?php
$array = array('a','b','c','d','e');
unset($array[4]);
print_r($array);
?>
Array
(
    [0] => a
    [1] => b
    [2] => c
    [3] => d
)  
Source by onecompiler.com #
 
PREVIOUS NEXT
Tagged: #remove #array #element #php
ADD COMMENT
Topic
Name
1+8 =