Amit Dhamu

Software Engineer

Remove Value From Array

// The Array
$array = ['Orange', 'Lemon', 'Banana', 'Grapes', 'Tomato', 'Kiwi'];

// Let's remove Banana, Tomato and Kiwi
$array = array_diff($array, ['Banana', 'Tomato', 'Kiwi']);

// Updated Array Looks Like
Array
(
    [0] => Orange
    [1] => Lemon
    [2] => Grapes
)

 array / php / delete / remove

Return Row CountCSS3 Animation

Show Comments

Made with by Amit Dhamu.
© MMXX. All rights reserved.