search an array

Search for an item in an array using in_array

Search for an item in an array using in_array.

<?php
$items = array("php", "asp", "javascript");

if (in_array("php", $items))
{
echo "found php in the array";
}
else
{
echo "cannot find the search term";
}
?>



Books :

Sponsors :

Random Code :

Directory browser(file system)
winoscentral.com news(xml)
While loop(beginner)

Random Article :

PHP On The Fly

Network:

Programming resources
Tutorials directory
Clickbank mall
sell software
Free auctions, low cost stores
UK products
US products
Gambling directory
Sexy free wallpapers
Hosting resources
ASP site
DVD site
Domain names
Dating site
Software directory
Maxi directory
bigarticle : free articles