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 
Parse error: parse error in  XML
Forum Index » Support Forum
Author Message
Anonymous



hey folks,
I just installed the mysql version of advanced poll, I have included the following in a file called script.php;

<?php
include_once "/home/davidg/public_html/site/poll/poll_cookie.php";
?>
<html>
<body>

<?php
include_once "/home/davidg/public_html/site/poll/booth.php";
echo $php_poll->poll_process(4);
?>


</body>
</html>

whenI access the page I get the following error;


Parse error: parse error in /home/davidg/public_html/jbsite/site/script.php on line 5

---- can anyone help?
Anonymous



actually the error says;


Parse error: parse error in /home/davidg/public_html/site/betasite/script.php on line 5
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

here's a clue...

what you wrote...
home/davidg/public_html/site/poll/booth.php

what the error says...
home/davidg/public_html/site/betasite/script.php

the first path should be (i presume)...
home/davidg/public_html/site/betasite/poll/booth.php

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum