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



i have problem inserting this code:<?php
// Important! You have to include it before your html code
include_once "/home/rikabin/public_html/poll2/poll_cookie.php";
?>

<html>
<body>
<?php
include_once "/home/rikabin/public_html/poll2/booth.php";
echo $php_poll->poll_process(4);
?>
</body>
</html>[/b]
how do i work it? email me: ali@rikabi.net
Auron
Expert
[Avatar]

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

what is the probelm?

answer for most problems...

SEARCH THE FORUM.

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]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline


Looks right to me so long as the paths you supplied are correct.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



I am also having problems.
The code that advanced polls said to put in my html page looks like this:

<?php
// Important! You have to include it before your html code
include_once "/home/jasonb4/public_html/advancedpoll/poll_cookie.php";
?>

<html>
<body>
<?php
include_once "/home/jasonb4/public_html/advancedpoll/booth.php";
echo $php_poll->poll_process(4);
?>
</body>
</html>

___________________
However, when I put this into a blank html document and preview it, it is a blank page with:

poll_process(4); ?>

at the top. So is the code wrong?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

You did make the pages extension .php and not .html or .htm ?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum