I am Paul from Romania a newbie in PHP and after I read so much tutorials I think that you can help me, please if you want.
So, my problem is like that: I have a index.php wich contain a header(navigation bar) and a footer(some links).I better show you the index.php code:
<?php include("header.php"); ?>
<?php
switch ($id)
{
case 1: include ("bgb_358_alt_0.htm"); break;
case 2: include ("plitt_nuen.htm"); break;
case 3: include ("plitt_bamb.htm"); break;
case 4: include ("plitt_erlan.htm"); break;
case 5: include ("plitt_nuen.htm"); break;
case 6: include ("oeff-Recht/oe-schachtie-zitate-hitliste.html"); break;
case 7: include ("oeff-Recht/Verfassungsrecht/Staatsgrundlagen/oe-kant-text.html"); break;
case 8: include ("oeff-Recht/Verfassungsrecht/Staatsgrundlagen/oe-vertrauensschutz-text.html"); break;
default: include("main1.php"); break;
}
?>
<?php include("footer.php"); ?>
This the example how I included the first 8 files (html) but it is a pain to go on like this,especially that the files (html) will grow up..........
.............I have 100 other files wich are html. How could I make this pages to apear in the midle of the layout? without using Mysql? I s there any solution?🙁