TinyPortal
Development => Support => Topic started by: othg_weasel on May 17, 2010, 04:04:12 PM
Ive been trying to get this advance poll system to work on my site but I keep getting an error. I'm supposed to add this code to view the poll.
<html>
<body>
<?php
include_once "/home2/othggame/public_html/legendsracewaymx/poll/booth.php";
echo $php_poll->poll_process(4);
?>
</body>
</html>
when I add it I get only this
poll_process("newest"); ?>
if I add it in a php block I get this error.
Parse error: syntax error, unexpected '<' in /home2/othggame/public_html/smf20/Sources/Load.php(2092) : eval()'d code(48) : eval()'d code on line 1
any ideas? I have exhausted my self with this and am about to remove it off my site so this Is my last hope :)
I have read all of there forums and have done all that I can with my limited knowledge.
link to the poll system > http://www.proxy2.de/
any php block needs removal of brackets
<?php
?>
try it with just the code below... in a php block
include_once "/home2/othggame/public_html/legendsracewaymx/poll/booth.php";
echo $php_poll->poll_process(4);
worked like a charm...
Thanks again Guys!!! :up: