La } dopo dovrebbe essere <?php } ?>
il problema è risolto,
perfetto filippo.toso

Non notate la tabella <table...... che era strutturata male e ora l'ho sistemata.

Grazie e ciao.