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 |
16/07/2008 00:08:18
|
firezz
Newbie
Joined: 12/07/2008 21:20:50
Messages: 2
Offline
|
hi, just wondering, i am doing a sample of the poll and a guestbook from another script
The main page will be
http://www.nendoroiz.com/testing/packages.php
and when user click on the topic, it will go to page
http://www.nendoroiz.com/py/view.php
just wondering, when admin created a poll, it will auto list out the code
<?php
// Important! You have to include it before your html code
include_once "/home/nendoroiz/domains/nendoroiz.com/public_html/advancedpoll/poll_cookie.php";
?>
<html>
<body>
<?php
include_once "/home/abunene/domains/nendoroiz.com/public_html/advancedpoll/booth.php";
echo $php_poll->poll_process(;
?>
</body>
</html>
So with the code, what i did is, i manually enter it in http://www.nendoroiz.com/py/view.php
and the page loads perfectly fine
My question now is, when i create a poll, is there any code i can add in my home page of all the polls created so that i could become
Current poll
poll 1
poll 2
poll 3
so that in future when there are additional poll, i will not go to edit the php code to add the upcoming poll one by one
thanks
|
|
|
|
|
|
Based on the open source JForum
|