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!
I don't know a lot about template engines but this one doesn't appear to have one...i wouldn't know.
My question is: Can I pass variables from a php script to a template (html) file so the page can use them? If so, is there any explanations/tutorials floating around as I cannot seem to find anything in the php manual. I'd like to set up my php so that it passes variables to a template page.
tags when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
To grossly oversimplify, there are several ways this is done. With a template like you showed: