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 
advanced poll hELP ME!!!!!!!!!!!!  XML
Forum Index » Support Forum
Author Message
Anonymous



hi i am new in php thing and i just wanna ask how to put my poll in my web?? use wat code?? pls tell me how
Anonymous



When u r in the admin click on the help button, it gives out the code for your page/s

DD
Anonymous



Ok... This is the code it tell me to add. But every time I do i get errors on my board. I'm adding it to a .php file



Can anyone please help?

MIW
Anonymous



try
before any html tags right at the top of the php page(firstline) place this in
[/code]<?php require "poll_cookie.php"; ?>[code]

were u want the poll to be [code]<?php
include_once "/home/anifranc/public_html/poll/booth.php";
echo $php_poll->poll_process(x); // x = Poll ID
?>
[/code]

If that does not work, which it should post wot u have done and so I can see!

DD :lol: [/code]
Anonymous



try
before any html tags right at the top of the php page(firstline) place this in


were u want the poll to be

If that does not work, which it should post wot u have done and so I can see!

DD
Anonymous



Ok.. I got it to work.

I made a new .php file added the code in there. Now How do I intergrate the poll in to my forums?

I want my poll to show up on my main board pg. Like on http://www.proxy2.de/ (main pg) where there poll is on the right side.

I'm Trying to add it in the "skin_golbal.php" file

Thanks,
MIW
Anonymous



use iframes
Anonymous



Ok i need help I did all of that and i saved it as a .php and then deleted my index.htm file that was on my server and put the index.php file in the place of it and I keep getting this error... Parse error: parse error in /home/(username)/public_html/index.php on line 105
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum