If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Oct 2007
    Member #
    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.

    <div class="poll_ai">
    <!--<frameset cols="100%,0%">
    <iframe src="display_poll.php"></iframe>


  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Boston, MA
    Member #
    205 times
    If you're gonna do it as an include, first write out the html right in your code to get it to display properly. Includes are rendered on the server, unlike framesets or iframes, which embed one page directly in another. If the script was written to be rendered as its own page, you may have to modify the html output so that it only renders the form part.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 03:16 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: