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 
Poll error with FrontPage 2002  XML
Forum Index » Support Forum
Author Message
Anonymous



I wrote in the body of my FrontPage editor this:
<table width="125" align="right" cellspacing="0">
<?php
include_once "/nfs/cust/0/8/0/compuc3/poll/booth.php";
echo $php_poll->poll_process("random");
?>
</td>
</tr>
</table>


But when i publish the page or i do a preview the page. This message appear in the body of my page
poll_process("random"); ?>


I tried to delete the symbol ">" and the frontpage no show me any error but the poll no work.


I'm sure that Frontpage has a problem in the line
echo $php_poll->poll_process("random");

But i don't have idea what i have to do?
PLEASE HELP ME!!!
dunnma
Beginner

Joined: 13/08/2002 23:09:49
Messages: 10
Offline

It is because you did not name your page .php Anytime you are using php you have to name it .php rather than .htm or .html.
Anonymous



It work perfect!!!. many thanks dunnma
Anonymous



biggg thanks !
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum