View Single Post
Old 11-08-2007, 05:35 AM   #5 (permalink)
Andrew
The Acquainted
 
Join Date: Sep 2007
Location: Arizona
Posts: 114
Thanks: 10
Andrew is on a distinguished road
Default

Well, you can do something like this:
PHP Code:
$szMatch "hi";
$aArray = array("hi""hello");
foreach (
$aArray AS $szValue) {
      if (
$szValue == $szMatch) {
            echo 
$szValue// Will output "hi"
      
}

Send a message via AIM to Andrew Send a message via MSN to Andrew
Andrew is offline  
Reply With Quote