If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
one poll to the next poll without showing results?  XML
Forum Index » General Discussion
Author Message
kft
Newbie

Joined: 27/11/2005 12:19:13
Messages: 2
Offline

Dear All,

please HELP.
i've searched the forum but it seems there is nothing about this.
i have created 13 polls and i would like the user to press the vote button and go straight to the next poll, without showing results. BUT this has to be different for every poll so you can continue with the next one until you are done.

somebody suggested to replace 1 line in class_poll.php

this line:
return $this->view_poll_result($poll_id,1);

for this one:
echo ("<META HTTP-EQUIV=Refresh CONTENT=\"0; URL=YOURSITEHERE\">");

but i think this doesn't allow you to go to next poll page(e.g poll_01.php, poll_02.php, etc etc) depending in which poll you are in. you always go back to the same URL because class_poll.php it's for all the polls.
I hope i made myself clear.

the polls are here :
http://www.seekyourself.org/poll_01.php

THANKS VERY MUCH

KFT
 
Forum Index » General Discussion
Go to:   
Based on the open source JForum