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 
Messages posted by: preventi
Forum Index » Profile for preventi » Messages posted by preventi
Author Message
Thanks Auron - I tried the suggestion you made and received this error on the page:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'{'' or `'$'' in /home/preventi/public_html/index.php on line 224

Since I want the poll on the home page, I can't let the error sit for long, so I have moved it now to it's own page at www.preventionthinktank.org/newpoll.php so you can see the issue if you want to.

Do you think the problem might be that I am trying to do this in FrontPage? I have Dreamweaver but have not yet installed or learned it.
I have created a poll for my website, but using the instructions on how to put the code on the page, the feature does not work correctly.

The code I am trying to put on my home page is this:

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

However, the words and characters poll_process(4);?>
(in other words, everything after the > sign that follows the -)
show on the page and the poll does not -- I am sure that is not supposed to be!

I have included this code at the top of the page
<?php
include_once "/home/preventi/public_html/poll/poll_cookie.php";
?>


Thanks for the help

The url where this is supposed to be working is www.preventionthinktank.org
 
Forum Index » Profile for preventi » Messages posted by preventi
Go to:   
Based on the open source JForum