On 6/29/07, clive <[EMAIL PROTECTED]> wrote:
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



   Blind as a bat.

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to