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 2  XML
Forum Index » Support Forum
Author Message
Anonymous



trying to use advanced poll, installed it succesful, but now trying to embed it in my homepage but just giving this string
poll_process(4); ?>

this is wat i'm using in my page
<?php
// Important! You have to include it before your html code
include_once "/var/www/html/poll/poll_cookie.php";
?>

<html>
<body>
<?php
include_once "/var/www/html/poll/booth.php";
echo $php_poll->poll_process(4);
?>
</body>
</html>


can somebody tell me what I'm doing wrong?
using MySQL (working)
php 4.2.2
apache 2.0
linux 9


I like this one to work...
Auron
Expert
[Avatar]

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

Make sure there are no spaces or characters before the FIRST <?php and make sure the pages extension is .php not .htm or .html

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