Author |
Message |
01/06/2005 13:26:21
|
Anonymous
|
I put <?php
include_once "/hsphere/local/home/powerhou/dannyd.net/poll/booth.php";
echo $php_poll->poll_process(x); // x = Poll ID
?>
into my html code as said.
All that comes up is poll_process(5); ?>
|
|
02/06/2005 21:14:37
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
Change page extension to .php
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
08/06/2005 04:10:17
|
Anonymous
|
Auron wrote:Change page extension to .php
I wanted to ask about this. What if I wanted a poll on my main page? Does that mean that this page would have to be a php page?
|
|
08/06/2005 06:46:22
|
neicul
Beginner
Joined: 29/03/2005 00:06:14
Messages: 12
Offline
|
if you are refering to your index file, you can rename it to index.php and it will work fine.
|
|
08/06/2005 19:04:29
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
You can have a page with no php in it at all and in will work fine, so long as there's html in it of course!
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
26/10/2006 11:36:46
|
bugojanac
Newbie
Joined: 26/10/2006 10:39:22
Messages: 1
Offline
|
Auron wrote:Change page extension to .php
My page is .php already.
I use Typo3, and it has a insert php script content element, and i inset it, and i still get the above.
it works ok on its own, but typo3 doesn't let it.
someone pls help.
|
|
|