×
Home About Us Products Services News Free Scripts Contact
news php scripts and software

PHP example - How to check if a particular value exist in a specified array?


PHP - How to check if a particular value exist in a specified array?

$arr=array("duron","celeron","xeon");

if(in_array("celeron",$arr))
{
       echo "celeron is present";
}

?>

Category: PHP

 
<< Go back