PHP Include code

I use to use this code that was the body of the 'index.php' file so that it called on files. This would make it easy because I wouldn't have to make the main layout on every other file.

I believe I had to make the links something like 'index.php?page=WHATEVER' That would call the file whatever.html and it will show were the PHP code was written on the 'index.php'

I have totally forgotten the code and Google didn't help me. Anyone know what I am talking about and think they can help me by supplying the code?

Share this

Related Posts