Author |
Message |
25/07/2002 19:05:46
|
Anonymous
|
I'm currently modifying the PHP script from the demo4.
In that demo you must specifie your poll_id manualy.
I want that the computer automaticly selects the newest poll_id.
How can I do that? I used the help and it shows this anwser
<?php
include_once "/var/www/html/wannahave-it/htdocs/poll/db/booth.php";
echo $php_poll->poll_process("newest");
?>
But this is for a complete poll, I just want a tag that selects the latest poll _id so the returned value can be just "8".
Anyone?
|
|
25/07/2002 22:28:40
|
Anonymous
|
This is about Advanced poll 2.0.2.
|
|
26/07/2002 10:35:42
|
Anonymous
|
<?php
include_once "/var/www/html/wannahave-it/htdocs/poll/db/booth.php";
$my_id = $php_poll->get_latest_poll_id();
echo $my_id;
?>
|
|
26/07/2002 17:41:18
|
Anonymous
|
thanks!
|
|
|