Credo di aver capito che ciò che ti serve è questo: http://it.php.net/manual/it/function.include.php.
ad esempio:Spero di aver centrato il bersaglioCodice PHP:
switch($errore)
{ case 0: { include ("Err_0.html"); break; }
case 1: { include {"Err_1.html"); break; }
[...]
default: { include ("Pagina.php"); break;}
}
![]()