Hi,
I'm have developed a poll system that takes the result from a series of radio buttons and writes it to an XML file. I have broken it up into two components: survey.php and results.php
survey.php writes to the XML file while results.php loops through the XML file and calculates the percentage of options selected.
I have used an include to pull the survey.php file into my webpage.
![]()
What I would like to do is to have the results.php page replace the survey.php page when I click on the link, instead of going to a new page as it does now.
Is this possible to dynamically replace the file being inlcuded or do I have to use an Iframe?
Thank you!




Bookmarks