
Originally Posted by
annie
http://php.flashwebhost.com/annie/cow_can_fly.php
Code:
<?php
$cowsCanFly = 'no'; //try changing value to 'no'
if ($cowsCanFly == 'yes' )
{ echo 'There is no time like the present '; }
if ($cowsCanFly == 'no' )
{ echo 'When in Rome, do as the Romans'; }
Code formatting is not proper.
Code:
<?php
$cowsCanFly = 'no'; //try changing value to 'no'
if ($cowsCanFly == 'yes' ) {
echo 'There is no time like the present ';
}
if ($cowsCanFly == 'no' ) {
echo 'When in Rome, do as the Romans';
}
Bookmarks