//56 function lamaslarga($cad1, $cad2) { if (strlen($cad1) > strlen($cad2)) { return $cad1; } else { return $cad2; } } include_once 'funciones.php'; $f = fopen(‘alumnos.txt ’, ‘r’); $colores = array("rojo", "naranja", "amarillo", "verde", "cian", "azul", "violeta"); if ($resultado) { ?> <h1>Bien</h1> <?php } else { ?> <h2>Mal</h2> <?php } function invertir_cad($tabla) { for ($i = 0; $i < count($tabla); $i++) { $tabla2[$i] = strrev($tabla[$i]); } return $tabla2; } function tablero($numCeldas) { $num = 0; echo "<table border=1>"; for ($i = 0; $i < $numCeldas; $i++) { echo "<tr>"; for ($j = 0; $j < $numCeldas; $j++) { echo "<td>" . ($i + $j) . "</td>"; } echo "</tr>"; } echo "</table>"; }