i'm a newbie programmer and i just built a website with a poll. the page is completely in html and linked to the php script processing the poll result in the action attribute of the form tag. my problem is the results of the poll comes up in a new page but i need the results of the poll to appear just under the poll itself on the same page. can anybody help me with that?
Jump to Post
ei.. if you want you're result on the same page use:
<form method="post" action="<?php echo $_SERVER['PHP_SELF'];"></form>
then you're php code for the result on the top of you're html..
hope this help :)
All 7 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.