PHP Video Lesson 7 - Control Structures Part 2
Code Box
<?php $cpu_number = rand(0, 100); $your_number = 50; If ($your_number > $cpu_number) { echo "Your Number Is Bigger! CPU number is $cpu_number"; } If ($your_number < $cpu_number) { echo "Your Number Is Smaller! CPU number is $cpu_number"; } } ?>
© 2006-2007 Code2Design.com
You must have at
least
a 1024x768 screen resolution to watch the videos correctly.
Right-click on your desktop and select "Properties" then the "Settings" tab to change your sreen resolution.