TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 790
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 703
  • Total: 704
  • tino

advance poll

Started by othg_weasel, May 17, 2010, 04:04:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

othg_weasel

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/

Crip

any php block needs removal of brackets

<?php
?>

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



Lesmond

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);

othg_weasel

worked like a charm...

Thanks again Guys!!! :up:

This website is proudly hosted on Crocweb Cloud Website Hosting.