Author |
Message |
16/01/2002 05:24:55
|
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
|
|
16/01/2002 06:40:52
|
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...
|
|
16/01/2002 12:45:06
|
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
|
|
|