showing only html content from #included file
ok so I want to deploy a new default.asp to all of my web site's sub pages ( department pages)
I dont want admins to edit default.asp directly
in each folder Im goign to include sidebar.asp and mycontent.asp
I wantsidebar.asp and mycontent.asp to be full fledged documents including doctypes and css references.
My question , is it possible, in this scenario, to use includes to display the html content only of the included files? - meaning how can i strip everything but the contents of the <body> element when including sidebar.asp and mycontent.asp?
- I think you can do this in php, I jsu have no idea what this method is called so google didnt help much