I will give you an example page... http://thetop10women.com/index2.php?page=wags
At the very bottom of this page I would like to include a poll but it just doesnt want to appear. The code for the poll is:
Code: Select all
<?php
// Important! You have to include it before your html code
include_once "/home/bidding2/public_html/thetop10women.com/polls/poll_cookie.php";
?>
<html>
<body>
<?php
include_once "/home/bidding2/public_html/thetop10women.com/polls/booth.php";
echo $php_poll->poll_process(4);
?>
</body>
</html>I created this file, 'http://thetop10women.com/poll_wags.php' and used the following code to include it into my page.
Code: Select all
<?php include("poll_wags.php"); ?>What am I doing wrong?
Is it not allowed to include something on an included page?? (?page=wags)
Any help is much appreciated!