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 
How to include poll in my page?  XML
Forum Index » Support Forum
Author Message
zerzer
Beginner

Joined: 21/01/2002 16:37:16
Messages: 7
Offline

I have installed mySQL based poll, and I'm trying for past several hours
to iclude it to my index.php page.
This is what i included in page: poll_ssi.php?poll_id=3 (as file name)
And index page is in the same directory as poll_ssi.php.
But nothing apears in my page.
Please can somebody tell me what i missed?
:roll:
lifesource
Newbie
[Avatar]

Joined: 21/01/2002 08:43:51
Messages: 3
Offline

if you look into the poll.php file, it is broke into 2 parts.
Where you see "<!-- cut text -->, copy that half and put it wherever you want the poll to be. Take the top half, copy and paste it right before the <html> on the page. That works if the file you put it in is *.php
zerzer
Beginner

Joined: 21/01/2002 16:37:16
Messages: 7
Offline

lifesource wrote:
q all


Hmmm.. did you mean poll_ssi.php file? In that file is only part of code that goes before <html>.
I put this code before html: <?php require "./booth.php"; echo $php_poll->poll_process(x);?>
And Poll apears in my page and averything works fine tnx.
But i still don't understand how to make it appear in the place i want poll to be. As i understood this code <!--#include virtual="poll_ssi.php?poll_id=x" --> must be at wanted place but seams that this don't make any changes!?
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum