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 |
|
I have a problem.
I show random polls and I would like the user to see the comments after he voted.
I have 2 questions:
1) How do I get the poll_id after the random poll is selected?
2) How do I make the comments show with the resuls?
thx for the help
|
|
|
I am verry new at this.
You need to have a PHP server to make it work properly.
I get the same kind of results when I open my pages in windows, the php-script is not run.
I have this code on my page
<?php require "../polls/poll_cookie.php"; ?>
as first line
<?php
include_once "../polls/booth.php";
/* poll */
echo $php_poll->poll_process("random");
?>
In the code
And it works fine on my server but it doesn't work on my comp because I don't have php installed.
|
|
|
|
|
|
Based on the open source JForum
|