ok this one should be easy:
<?
$animal = array ("pig","cow","bat","chicken","dog");
for ($i = 0; $i < sizeof($animal); $i++) {
$sighted = ($animal[$i] != "bat" ? "see" : "blind");
}
?>-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

