È proprio quello che vi chiedendo, cioè di aiutarmi nel codice perché di php non so quasi nulla. Comunque ho fatto dei passi in avanti e riesco adesso a postare il codice:
nel file main.php:
nel file capitoli.php:codice:<?php include ('canti.php'); canto1(); ?>
codice:<?php function canto1() { echo '<table id="modificabile"> <caption> <input value="aumenta" type="button" onclick="scalaTesto(1);"> <input value="riduce " type="button" onclick="scalaTesto(-1);"> </caption> <thead> <tr> <th width="15%"></th> <th width="90%"></th> </tr> </thead> <tbody style="font-family: LindenHill-webfont;"> <tr> <td><br><br>3</td> <td> ecc...
Adesso il problema nasce dal fatto che il codice php (nel file capitoli.php) riconosce entrambe le virgolette "" '' come chiusura del codice invece del testo normale da inserire, sapreste ovviare a questo problema?


Rispondi quotando
