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.