Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP error
#1
I used a plug in to enable PHP in a mybb forum. When I put in this code.

PHP Code:
<?php if($this->params->get('dateDisplay')) : ?><div id="date"><?php echo date('l dS \of F Y'); ?>&nbsp;&nbsp;&nbsp;&nbsp;</div><?php endif; ?>

The date is working fine but I got two errors I got rid of one by taking out

PHP Code:
<?php endif; ?>

But im still left with this.

Code:
Parse error: syntax error, unexpected $end in /home/content/41/4149141/html/forum/global.php(438) : eval()'d code(7) : eval()'d code on line 1

If you would like to see the error here is the link to the forum

http://www.datapodcomputer.com/forum/
Reply


Messages In This Thread
PHP error - by R3c0nna1ssanc3 - 10-21-2009, 06:26 PM
RE: PHP error - by MAcar - 10-21-2009, 06:57 PM
RE: PHP error - by R3c0nna1ssanc3 - 10-21-2009, 07:39 PM
RE: PHP error - by R3c0nna1ssanc3 - 10-21-2009, 10:22 PM
RE: PHP error - by h1r0n - 10-22-2009, 10:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 943 07-27-2020, 11:26 PM
Last Post: tk-hassan
  PHP Video Tutorials (PHP For Beginners) Eleqtriq 4 3,671 10-10-2011, 01:00 PM
Last Post: Greyersting
  PHP error on page submit kaosjon 7 2,722 09-18-2011, 03:31 AM
Last Post: AceInfinity

Forum Jump:


Users browsing this thread: 1 Guest(s)