Php array- how to search index of value , remove value key and reindex array
array_search (“content value “,arrayname) // gives the index number of value given in array
$input1 = array(4,5,7,6,3,9,8); // let us consider its array
$ser = array_search(5,$input1); // $ser will give value 1 means the index value .. starts from 0
//remove content from array php
unset($in[$ser]); // unset function with syntaxt
// reindexing array php
//array_splice($input1,0,0);