Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check array for a certain variable?

Status
Not open for further replies.

pugs421

Technical User
Joined
Nov 25, 2002
Messages
114
Location
US
Is there a way to see if a value has already been stored in an array?

if array contains $this_variable
{
echo this
}
else
{
echo that
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top