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/12/2004 12:59:51
|
Anonymous
|
Hi, I am trying to use Advanced Poll on my website. I put this syntax into the HTML code:
<?php
include_once "/home/tommc/public_html/minipoll/booth.php";
echo $php_poll->poll_process(1);?>
Everything after the "->" (ie. what I've underlined) is not recognised by Dreamweaver or IE as valid code and the final page prints the underlined part as text. No part of the poll shows. What's the story?
Thanks,
SD.
|
|
01/12/2004 17:35:54
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
You need php to process php code - so if you open the file on a computer without php, you only get the code, not the result. Your file needs a .php extension and be on a server with php.
|
|
|
|
|
|
Based on the open source JForum
|