i just want to verify, is an array value contain a given string or not?
for eg
i wank to return true if $users contain 'nirmal' or false.
without (for loop). i want to know if there is any inbuilt function in php for that?
for eg
Code:
<?php $users="ravi|varman|nirmal|singh|veera|samy|"; $searchword="nirmal"; ?>
without (for loop). i want to know if there is any inbuilt function in php for that?
Comment