Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $num = $_POST['num'];
- if($num)
- {
- for ($i=1; $i<=10; $i++)
- {
- error_reporting(0);
- //error_reporting(0); use for hide run time error
- $mul = $num * $i;
- echo "$num x $i = $mul<br>";
- }
- }
- else
- {
- echo "Invalid Entry!";
- }
- ?>
Add Comment
Please, Sign In to add comment