Simple PHP programs Part II
Simple PHP programs part II Use Desktop Site in Smart phones to visit our post in best manner Before going to this, if you missed the Simple PHP programs part I. Click below this link to to visit Part I: Simple PHP programs Simple PHP programs Part I 1. To find the factorial value of the given number <html> <head> <title>Factorial Value for the given value</title> </head> <body> <center> <form method="post"> <tr> <td><b>Enter the number : </b></td> <td><input type="number" name="number"></td> <td><input type="submit" value="Submit"></td> </tr> </form> <?php $n=$_POST['number']; $i=1;$f=1; while($i<=$n) { $f=$f*$i; $i++; } echo "The factorial value for the given number is <b style='font-size:2...