ho il seguente blocco di codice php e non riesco ad indentarlo :
codice:
echo("</div> \n");
echo("<table> \n");
echo(" <tr> \n");
echo(" <td> \n");
echo(" <input type=\"submit\" value=\"Cancella Selezionati\" onclick=\"this.form.action='Cancellazione.php'; this.form.submit();\" /> \n");
echo(" </td> \n");
echo(" <td> \n");
echo(" <input type=\"button\" value=\"Seleziona Tutto\" onClick=\"check(this.form.chklist);\" /> \n");
echo(" </td> \n");
echo(" <td> \n");
echo(" <input type=\"submit\" value=\"Nuova Domanda\"; />\n");
echo(" </td> \n");
echo(" <td> \n");
echo(" <input type=\"button\" value=\"Modelli risposta\" onclick=\"this.form.action='tutterisposte.php'; this.form.submit();\" /> \n");
echo(" </td> \n");
echo(" </tr> \n");
echo(" <tr> \n");
echo(" <td> \n");
echo(" Inserisci Gruppo: \n");
echo(" </td> \n");
echo(" <td> \n");
echo(" <input type=\"text\" name=\"nuovosondaggio\" value=\"\" /> \n");
echo(" </td> \n");
echo(" <td> \n");
echo(" <input type=\"button\" name=\"sondaggio\" value=\"Inserisci Gruppo\" onclick=\"cambiaPagina('inseriscigalleria.php');\"/\"> \n");
echo(" </td> \n");
echo(" <td> \n");
echo(" <input type=\"button\" name=\"cancellasondaggio\" value=\"Cancella Sondaggio Selezionato\" onclick=\"cambiaPagina('cancellaGallerie.php');\"/> \n");
echo(" </td> \n");
echo(" <td> \n");
echo(" </tr> \n");
echo(" <tr> \n");
echo(" <td> \n");
echo(" Minuti da passare prima della ricompilazione: \n");
echo(" </td> \n");
echo(" <td> \n");
echo(" <input type=\"text\" name=\"tempo\" size=\"14\" value=\"".$_POST["tempo"])." \" /> \n ";
echo(" </td> \n");
echo(" <td> \n");
echo(" <input type=\"button\" name=\"temposubmit\" size=\"14\" value=\"Salva impostazioni\" onclick=\"this.form.action='principale.php' ; this.form.submit(); \n\" />");
echo(" </td> \n");
echo(" </tr>");
echo("</table>");
perchè' non è indentato?è giusto l'approccio all'indentazione con i tab?
come chiudo in xhtml l'input? perchè sembra mi dia errore su questo(io chiudo con />)
grazie.