Vreau sa fac generez in while coduri PHP fara ca ele sa fie rulate. <?php $x=1; while($x<=5) { echo"<td><code><?php if (in_array(".$x.", $numere_tura_1)) {echo "<span class=\"num\">".$x."</span>";} ?></code></td>"; $x++; } ?> Unde gresesc ? Merci. Practiv vreau sa-mi afiseze : <td><?php if (in_array(1, $numere_tura_1)) {echo "<span class=\"num\">1</span>";} ?></td> <td><?php if (in_array(2, $numere_tura_1)) {echo "<span class=\"num\">2</span>";} ?></td> <td><?php if (in_array(3, $numere_tura_1)) {echo "<span class=\"num\">3</span>";} ?></td> <td><?php if (in_array(4, $numere_tura_1)) {echo "<span class=\"num\">4</span>";} ?></td> <td><?php if (in_array(5, $numere_tura_1)) {echo "<span class=\"num\">5</span>";} ?></td>