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 
Need help cant see Poll  XML
Forum Index » Support Forum
Author Message
caejun
Newbie

Joined: 02/06/2003 06:04:08
Messages: 4
Offline

This site and forum really needs some better support
dante
Beginner

Joined: 28/05/2003 00:23:28
Messages: 5
Offline

Hi try this:

<?php
/* Include this before your html code */
include "pollphp/db/poll_cookie.php"; ";
?>
<html> <head>blah blah
</head>
<body>where you want to appear..

<?php

/* path */
$poll_path = "/home/virtual/site45/fst/var/www/html/pollphp/db/poll_cookie.php";

require $poll_path."/include/config.inc.php";
require $poll_path."/include/class_poll.php";

$php_poll = new poll();

/* the first poll */
echo $php_poll->poll_process(1);



Cheers - subsitute the ( 1 ) for poll you would like to use..ie (2 )

Dave the moose
dante
Beginner

Joined: 28/05/2003 00:23:28
Messages: 5
Offline

Hi sorry made mistake here:

Hi try this:

<?php
/* Include this before your html code */
include "pollphp/db/poll_cookie.php"; ";.....mistake
?><html> <head>blah blah
</head>
<body>where you want to appear..


change to
<?php
/* Include this before your html code */
include "pollphp/db/poll_cookie.php";
?>

Dave the moose
caejun
Newbie

Joined: 02/06/2003 06:04:08
Messages: 4
Offline

nt
Anonymous



easy. just rename the file index.html into index.php

that fixed problem for me.
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum