If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

frame or php include, and how?

Hello,
In my main page, I am trying to show a poll as below. The poll file is called display_poll.php. I want it to appear only in the div poll_ai as below, just a small part of the whole page. But it doesnt show anything.
I tried everything written in comment tags too as below. It shows nothing.
By the way, the poll file form is like this:
echo "<form method=\"post\" action=\"display_poll.php\" target=\"_self\" >";
so once user clicks submit, again it posts to itself. So, what I want is, it still should display this file as part of the main page, in that frame. I dont want it to open as a separate page, as it currently does if I did php inlude.