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 
Advanced poll - NEED HELP!  XML
Forum Index » Support Forum
Author Message
TherioN
Newbie

Joined: 13/06/2003 00:54:26
Messages: 1
Offline

Ok, so after I've read through most of the adv. poll topics, my problem is still unsolved.

What code do I need to have on my .php page so the DAMN poll will show up? My current page looks like this:

Before the HTML:
<?php
/* Include this before your html code */
include "./poll_cookie.php";
?>

In the Body:
<?php
include_once "/root/directory/n-i.se/poll/booth.php";
echo $php_poll->poll_process(1);
?>

Awright. Now my 6th sense tells me that I have to substitue /root/ and /directory/ with............................something else, then followed by my domainname, then the subdirectory. Where is the error in this code?
Anonymous



Yeah I'm also at a stand still with the same issue. Installation and all documentation was good and very easy up till that point. I WILL figure this out though one way or another. Me thinking there is more involved
then just those snippets...LOL
Good Luck
CE
Anonymous



Finally The poll now shows up. Here is the code which I have on my php-page.

Before the HTML-code:

<?php
include_once "/customers/yourdomain/yourdomain/httpd.www/Poll/db/poll_cookie.php";
?>

Substitue yourdomain with the name of your domain without the www.

Then in the body:

<?php
include_once "/customers/yourdomain/yourdomain/httpd.www/Poll/db/booth.php";
echo $php_poll->poll_process(x);
?>

Obviously you have to set up a question and give that question ID x.
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum