...

View Full Version : php poll



BroChris
10-31-2003, 11:25 PM
I'm trying to configure a poll that I downloaded, but I keep getting errors. This is the only part of the script that I've modified. Assuming all other parts are present and working, is there anything wrong with the syntax of the following?


<?php
if(isset ($page))
{
if ($page == "poll")
{
include("results.php");
}
}
else
{
print("Vote in the poll!");
}
}
?>

SDP2006
11-01-2003, 12:14 AM
What poll system are you using?

missing-score
11-01-2003, 12:41 AM
also, what error messages (if any) are you getting, the $page var, is that a variable set in the script, or another type (eg: passed in the URL)

if you could give us some more information we would be able to help more, as the code there has no errors.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum