1 2 3 4 5 6 7 8 9 10 11 12 13
<?php //print welcome msg echo ("welcome to our first PHP site"); $grade = 100; if($grade = 100) { echo("\n4.0"); print("\nmabuhay"); $first = 20; $second = 21; $max_num = $first > $second ? $first :$second; echo "\nmy age is " . $max_num; } ?>
1 2 3 4
welcome to our first PHP site 4.0 mabuhay my age is 21