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 
All I get is poll_process(5); ?>  XML
Forum Index » Support Forum
Author Message
blue
Beginner

Joined: 15/01/2002 09:59:45
Messages: 5
Offline

I have the same problem as inc77 in a previous post but I'm not as smart - I can't figure it out.

I insert

<?php
// Important! You have to include it before your html code
include_once "/xxxx/poll/textfile/poll_cookie.php";
?>

<html>
<body>
<?php
include_once "/xxxx/poll/textfile/booth.php";
echo $php_poll->poll_process(5);
?>
</body>
</html>

into the code of the page but instead of getting the poll I get

poll_process(5); ?>

What's wrong ?

Thanking you, Blue
Anonymous



heh... you need to name your index.html as a php file... ie index.php
i forgot to do this and gotten the same results... hope that helped...
blue
Beginner

Joined: 15/01/2002 09:59:45
Messages: 5
Offline

Thanks that worked. I even figured out how to do the ssi. My next question is how to change the length of the table that the poll is in (my poll only has 2 options). In General Settings you can change the width but not the length. I managed to adjust it a bit using the Templates option but it only moves a bit.

How does this work ?

Blue
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum