PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Where would you put the code in the html below to switch content using the nav buttons. I posted earlier where I had split up my code and used includes for the header, nav, main and footer. Since I cannot get that to work correctly to show the html in the browser I would like to go ahead and use what is below. Any help is appreciated in advance.
Assuming you don't mean to switch based on regular links but something AJAXy, you'd put that in some Javascript code, in a file, that you pull in with a <script>.