T
TommyTurner2007
Guest
Hello,
I am buidling a website and I am looking for a old code snippet.
I want to use the include function to include a page.
It was something like:
"if $page include $page.php or else include home.php"
So if I put this into index.php i could go to index.php?page=whatever
If anyone could help it is much appreciated.
Tom
I am buidling a website and I am looking for a old code snippet.
I want to use the include function to include a page.
It was something like:
"if $page include $page.php or else include home.php"
So if I put this into index.php i could go to index.php?page=whatever
If anyone could help it is much appreciated.
Tom