WebDesires - Web Development Cannock, West Midlands
Basket is empty

Tag: remove duplicate


Generally merging arrays in PHP is pretty straightforward given the built in functions on offer for developers. <?php $array1 = array(0 => “data1”, 1 => “data2”, 3 => “data”); $array2 = array(1 => “data”); $result = array_merge($array1, $array2); ?> Given the above array its obvious how simple merging 2 arrays can be. The expected result […]