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 
Auto poll question  XML
Forum Index » Support Forum
Author Message
Anonymous



Hi!

First sorry about my bad English.
A lot of compliments for your poll script.

Well, I have one little problem. I'm intending to use your poll script Version 2.02 on my site and on the tests I'd noticed one problem.

When I use this code for "newest" poll, there is no problem:
...
if (isset($HTTP_GET_VARS['poll_id'])) {
echo $php_poll->poll_process($HTTP_GET_VARS['poll_id']);
} else {
echo $php_poll->poll_process("newest");

It allways show me the newest poll on the site. NICE!
Problem starts, when I use this code for linking question for poll.

...
/* question */
echo $php_poll->get_poll_question(2);

I try to use "newest" comand instead of number 2 (poll ID), but it doesnt work. Any tip or trick how to do it?

So, I'd like to use this question separate from the poll, but If it is possible that it work automaticly and change itself anytime I put new poll on site.

Hope, that you can help me.

With best regards

Gregor
Anonymous



Support Forum
Bugs, installation questions and other issue here... Here? Really?



Anyone?
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum