July 18, 2018
Hello friends, Now i am explain how we check value exist in array. in_array() is the function in php to Check if a value exists in an array using PHP. Learn about Php
1 |
in_array ( val, array_name ,mode ) |
Parameters: The in_array() function accepts three parameters, out of which two are compulsory and other one is optional. All three parameters are described below: val: This is a required parameter which specifies the element Read more…
Recent Comments