Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<?php
$array = array(0 => "a", 1 => "b", 2 => "c");
unset($array[1]);
print_r($array);
?>
<?php
// multiple
$array1 = array(0 => "a", 1 => "b", 2 => "c");
$array1 = array_diff($array1, array("a", "c"));
print_r($array1);
?>
</body>
</html>
The most helpful PHP solutions
detect browser phpPHP Click to see more ... 4.6K 408