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 
advance poll 2.02 embeded  XML
Forum Index » Support Forum
Author Message
Anonymous



Hi there.
I don't know if you can give me a hand.

I just installed the My SQL advance poll 2.02 and everything seems to be working fine, I even created new polls, the only problem is that I don't know how to embed the poll into my webpage.

------- I followed the instruction, I inserted the codes
<?php
// Important! You have to include it before your html code
include_once "/home/mypage/pollphp/db/poll_cookie.php";
?>

<html>
<body>
<?php
include_once "/home/mypage/pollphp/db/booth.php";
echo $php_poll->poll_process(4);
?>
</body>
</html>

------- but when I save the webpage all it shows is
poll_process(4); ?>

thanks for your help.
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Change the pages extension to .php
Also do you have the correct path information to booth.php found under the help section from the main menu?

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum