Hello guys, I am completely new to this so any help would be appreciated.
I wanted to add a poll for my website so I used the one click install for AdvancedPoll. It installed great and I was able to create a poll but I have no idea how to place the poll on my webpage!
I clicked the little notepad button next to my poll on the AdvancedPoll admin panel and it gives me the php code to insert, it looks like this:<?php // Important! You have to include it before your html code include_once "/home/myusername/mydomain.com/advancedpoll/poll_cookie.php"; ?> <?php include_once "/home/myusername/mydomain.com/advancedpoll/booth.php"; echo $php_poll->poll_process(5); ?>
I tried so many different ways of putting this code in and all I ever get on the webpage are the words “poll_process(4); ?>”.
Any help is appreciated, thank you!