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



whats the scirpt i put in my page to make the poll appear? when i enter:<?php
// Important! You have to include it before your html code
include_once "c:/inetpub/wwwroot/andrew/poll/pollphp/textfile/poll_cookie.php";
?>
<?php
include_once "c:/inetpub/wwwroot/andrew/poll/pollphp/textfile/booth.php";
echo $php_poll->poll_process(1);
?>

It looks like this in the browser: poll_process(1); ?>

HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
xenzap
Beginner
[Avatar]

Joined: 18/06/2003 01:28:42
Messages: 10
Offline

Make sure that the text is like this:
<?php
include_once (blah blah); echo (blah blah) <--everything on one line
?>

Try that and see if it helps.

-Xeno
Anonymous



thanx but it didnt work it still just displays: poll_process(1); ?>

This is exactly how the page looks:

<?php
// Important! You have to include it before your html code
include_once "c:/inetpub/wwwroot/andrew/poll/pollphp/textfile/poll_cookie.php";
?>

<html>
<body>
<?php
include_once "c:/inetpub/wwwroot/andrew/poll/pollphp/textfile/booth.php";echo $php_poll->poll_process(1);?>
</body>
</html>

See anything wrong? Thanx for all your help
Anonymous



thanx but it didnt work it still just displays: poll_process(1); ?>

This is exactly how the page looks:

<?php
// Important! You have to include it before your html code
include_once "c:/inetpub/wwwroot/andrew/poll/pollphp/textfile/poll_cookie.php";
?>

<html>
<body>
<?php
include_once "c:/inetpub/wwwroot/andrew/poll/pollphp/textfile/booth.php";echo $php_poll->poll_process(1);?>
</body>
</html>

See anything wrong? Thanx for all your help
orangewizardman
Newbie

Joined: 31/07/2003 08:31:16
Messages: 4
Offline

anybody that last post? sorry but i really need to get this workin.




Thanx
[Email] aim icon
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

A few things does your host support PHP?
Have you changed the pages extension to .PHP?

If your still stuck post again here.

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



Try changing the page from a .html to a .php
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Thats what I just said, if you hadn't noticed?

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum