Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
01/10/2004 22:05:52
|
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!?
|
|
02/10/2004 00:52:49
|
Auron
Expert
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) |
|
|
|
|
|
Based on the open source JForum
|