Author |
Message |
21/01/2002 16:46:27
|
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:
|
|
21/01/2002 18:09:59
|
lifesource
Newbie
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
|
|
21/01/2002 22:23:19
|
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!?
|
|
|