pass variable to a page {variable]
Posted: Fri Sep 03, 2004 1:39 am
I have seen a couple of sample scripts for an image gallery that have passed variables to a html template page, something like:
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.
Brad
I don't know a lot about template engines but this one doesn't appear to have one...i wouldn't know.<title>{txt_script_name} {txt_script_version}</title>
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.
Brad