Good I am making a table and it throws the results to me in table form but I occupy that it throws to me now the result that I enter in the input if I put for example 5x14 that throws me only that and I do not throw all the tables I do not know if removing the for can but I get an error this is my code:
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="tablass.css"
<html lang="es">
<head>
<title> </title>
</head>
<body>
<?php
$b=5;
$multi;
echo"<table border=1 cellspacing=0 width=200";
echo "<tr><th colspan=5> Tabla del $b </th></tr>";
for($i=10; $i<=15; $i++) {
$multi= $i * $b;
echo "<tr><td align=center>$b</td>
<td align=center>x</td>
<td align=center>$i</td>
<td align=center>=</td>
<td align=center> ". $b*$i . "</td>
</tr>";
}
echo "</table> <br/>";
?>
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="tablass.css"
<html lang="es">
<head>
<title> </title>
</head>
<body>
<h1>TABLA DEL 5 V2</h1>
<form action="tablaav2.php" method="post">
<h1>DAME 5</h1>:
<input type="text" name="valor1"><br>
<h1>DAME RANGO DEL 10 AL 15</h1>:
<input type="text" name="valor2"><br>
<br>
<input type="submit" value="Aceptar">
</form>
</body>
se me ocurrio poner esto pero da error:
if($i==10){
´echo .($b * 10);
}
if($i==11){
echo .($b * 11);
}