PHP PROGRAMING DAY - 4 THIS IS MY 2'ND CODE
http://php.flashwebhost.com/ramesh/day-4/if_greater.php
PHP Code:
<?php
$laras_hundreds = 54;
$sachins_hundreds = 100;
$name_of_indian_cricketer ='Sachin';
$name_of_westindian_cricketer ='Lara';
if ($sachins_hundreds > $laras_hundreds) {
echo 'Congratulations ' . $name_of_indian_cricketer . '! You are better than Lara because you took '
. $sachins_hundreds . ' centuries. ' . $name_of_westindian_cricketer . ' took 54 centuries only';
Bookmarks