Ask your own question, for FREE!
Computer Science 10 Online
OpenStudy (anonymous):

can u help me guys?..im a beginner in php programming.... make a program that will enter two numbers and then displays the multiplication table base on the two numbers inputted...using php..

OpenStudy (lyrae):

Look at the code and make sure you understand how it works. <?php function mult($x, $y) { for ($i = 1; $i <= $y; $i++) { for ($j = 1; $j <= $x; $j++) echo ($i*$j) ." \t"; echo "\n"; } } mult(2, 4); echo "\n"; mult(12, 12); ?>

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!