I am trying to get a poll to work on my site. I am using Inline frames to display the content. The poll is outside of the iframe and is put in using <? include("poll.php"); ?>
What I was aiming to do was, when you click "vote" to submit your vote, the results would appear in the Iframe.
So in poll.php i have:
<form method="post" action="<?=$PHP_SELF ?>" target="Iframe"> (this isn't in between <? ?>)
I tried it by inserting the full code of poll.php into page rather than use include(), but it displayed the whole page again into the inline frame. How would I go about just getting the poll.php file to appear in the inline frame? I thought using include() would work as it does when you use it with asp.
I will eventually remove the inline frame, but for now i'm using them.
Any help is appreciated, /m1nt
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php