Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
13/10/2003 09:35:18
|
Anonymous
|
Hi
I really appreciate this script, it's excellent. There is however, one thing that I am having trouble with. I have the poll page set up to display the "newest" one unless one of the previous polls that is listed is selected in which case it will display that ID. So all the elements of the poll: the question, the poll itself, the comments, and the form are displayed based on this. so for each of these I'm using something like this:
I've edited the functions so that they will respond to "newest", but the problem is that for some reason, if I don't specifically use a certain ID number, I can't add comments with the form. I've never formally learned PHP, so I'm having trouble figuring this out myself. If you could suggest a workaround or what might need to be done so that the form knows that the comments are being submitted for the currently viewed poll I'd really appreciate it. If not, could you maybe point me in the direction of someone or somplace that might help me out?
here's the files to refer to:
http://philitopia.net/poll/index.php
can be viewed in text at http://philitopia.net/poll/index.php.txt
class_poll.php
can be viewed in text at http://philitopia.net/poll/class_poll.php.txt
class_pollcomment.php
can be viewed in text at http://philitopia.net/poll/class_pollcomment.php.txt
Thanks in advance,
Phil
|
|
|
|
|
|
Based on the open source JForum
|