Hey,
I am trying to make a file similar to page.php in wordpress, but I don't quite understand how it works and I don't want to have to create a database entry for every file in the database.
I'm not sure if the above is really the way to do it, but this is what I want:
I want to replace the sidebar contents with items selected from a database and the content div with another item selected from a database.
I only want to do this though " if(isset($_GET['lang'])) "
If I could get some assistance with how to replace the sidebar and content contents with this if the condition is met that would be great.
Thanks a million.
I am trying to make a file similar to page.php in wordpress, but I don't quite understand how it works and I don't want to have to create a database entry for every file in the database.
I'm not sure if the above is really the way to do it, but this is what I want:
I want to replace the sidebar contents with items selected from a database and the content div with another item selected from a database.
I only want to do this though " if(isset($_GET['lang'])) "
If I could get some assistance with how to replace the sidebar and content contents with this if the condition is met that would be great.
Thanks a million.
Comment