Author |
Message |
14/03/2004 22:19:06
|
Anonymous
|
How to show last poll results with "view_poll_result"?
This don't work:
echo $php_poll->view_poll_result("newest");
"newest" only work with: echo $php_poll->poll_process("newest");
How can I do it?
|
|
19/03/2004 15:37:32
|
Anonymous
|
Please someone help me!!!
|
|
19/03/2004 17:37:00
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
in the admin panel set that poll to inactive or complete or something along
those lines or set an expire time in the past and then you can call it and it
will just show the results. Have a look at the demo polls and see what
code they use to just display the results.
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
20/03/2004 15:50:54
|
Anonymous
|
Thanks for the answer.
But the problem continues.
Because I want show the results of the LAST POLL, not a especific poll. I want show the last poll result automaticaly. Some thing like $php_poll->poll_process("newest"), but with view_poll_result.
Its there any solution????
|
|
24/03/2004 16:51:29
|
Anonymous
|
Ok, I solved my self. Just editing class_poll.php in the view_poll_result function. Thanks anyway.
|
|
27/09/2004 19:50:56
|
Anonymous
|
can you tell me what have you modified?? I want the same as yours, show automatically the last poll.
thanks a lot.
|
|
|