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 
problems with Advance poll  XML
Forum Index » Support Forum
Author Message
Anonymous



I'm new to php programming and have problem to implement the poll on my html page. The result is:

connect(); $php_poll=new poll(); ?>
poll_process(4); ?>

So, I used the suggestion which I found on this forum:

<style type="text/php">
.poll:#default
{
input your php code here
}
</style>


<poll php="#default" alt="My Great Poll" //>

Now is my page blank.
I don't know what I have to put in alt="", where do I have to put my poll_process(4); and how do I have to make it visable on my html page?

Pls. could somebody help me to solve this problem!?
Auron
Expert
[Avatar]

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

change page extension to .php rather than .html/.htm

And use proper php tags and code...

<?php
include_once "./textfile/booth.php";
echo $php_poll->poll_process("newest");
?>

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