WRITE A PROGRAM TO PRINT THE TABLE IN PHP USING HTML
WRITE A PROGRAM TO PRINT THE TABLE IN PHP USING HTML Program are as follows:---- <!doctype html> <html> <head> <title> Table</title> </head> <body style='background-color:pink;'> <form method="post"> Enter the no.: <input type="number" name="n" style="margin-left:5%;" /><br><br> <input type="submit" name="submit" value="Result" style="margin-left:5%;margin-top:2%;"/> <br><br><br> </form> <?php if(isset($_POST['submit'])) { $n = $_POST['n']; $r =0; echo"<div style='width:100%;margin-top:2%;'> "; for ($row=1; $row = $n; $row++) { echo "<div style='border:1px solid red;width:23.8%;margin:0.5%;float:left;text-align:center; '>Table o...