Generating Pages from databse info dynamically using php template?
Permalink
My problem is I want a few iframes in my page to be generated from a .php template I wrote when the user loads the page. It would change images and text according to information in the database at the time of loading.
I tried
but I got access denied as the page.
The reason I need to generate these and I cannot just have a page in the iframe is because there will be a growing number of these iframes over time and I don't want to create new pages for each iframe.
I'm looking for some way to use an iFrame give it a variable(which row to use in the database) and generate a page accoding to newsBar.php
Is this possible?
Thank You.
I tried
<iframe src="<?php echo $this->getThemePath(); ?>/newsBar.php>
but I got access denied as the page.
The reason I need to generate these and I cannot just have a page in the iframe is because there will be a growing number of these iframes over time and I don't want to create new pages for each iframe.
I'm looking for some way to use an iFrame give it a variable(which row to use in the database) and generate a page accoding to newsBar.php
Is this possible?
Thank You.