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 
Kann nicht mehrere Poll darstellen...  XML
Forum Index » German Forum
Author Message
Anonymous



Ich möchte gerne mehrere Poll zur Abstimmung bereitstellen, also habe ich mehre erstellt und sie dann mit:

<p><?php
$poll_path = "/vpserver/web/vps01136/www/poll/db";
require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();
$php_poll = new poll();
$php_poll->set_template_set("simple");
$php_poll->set_max_bar_length(80);
echo $php_poll->poll_process(6);
?></p>
<p><?php
$poll_path = "/vpserver/web/vps01136/www/poll/db";
require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();
$php_poll = new poll();
$php_poll->set_template_set("simple");
$php_poll->set_max_bar_length(80);
echo $php_poll->poll_process(4);
?>
<p><?php
$poll_path = "/vpserver/web/vps01136/www/poll/db";
require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();
$php_poll = new poll();
$php_poll->set_template_set("simple");
$php_poll->set_max_bar_length(80);
echo $php_poll->poll_process(5);
?></p>

eingebunden, aber nur der erste Poll wird dargestellt. Und dann erscheint noch eine Fehlermeldung die man unter http://www.stronghold-game.net/index.php?site=poll besichtigen kann.

Was habe ich falsch gemacht???
Anonymous



du darfs die php-codes natürlich nur einmal includen

 
Forum Index » German Forum
Go to:   
Based on the open source JForum