i had a website where i used a php array to display content in a particular table, but i cant remember how i done it and i have lost the old source files.
it worked so that i only had one php file that included the design of the pages and other html files with only the content. No design information was in those other html file.
the actual php code had things like
[code]‘contact’ => ‘contact.html’ ; ‘root’ => ‘home.html’
it had other bits like GET and things but i just cant remember.
say for example the index was called index.php when you directed the browser at index.php?p=contact it would take the content from the html file and put it in the table where the php code was;
I am greatful of any help recieved, thanks