Puoi fare cosi
codice:ob_start(); echo "<html>"; ... echo "<body>"; ... qui tutto il resto del tuo codice html include("file_da_includere.inc"); echo"</body>\n</html>"; //----- Tutto il codice htlml viene salvato in $content $content = ob_get_contents(); ob_end_clean(); //----- Stampa a video del codice html print $content;


Rispondi quotando