Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP error
#2
Idk what the problem is but it just might be the way your formatted it
also do you want it to display the date everytime? if so try this
PHP Code:
<?php
echo '<div id="date">';
echo 
date('l dS \of F Y');
echo 
"&nbsp;&nbsp;&nbsp;&nbsp;</div>";
?>
if you want it to use the if (which is where your error might be) use this
PHP Code:
<?php
if($this->params->get('dateDisplay')){
echo 
'<div id="date">';
echo 
date('l dS \of F Y');
echo 
"&nbsp;&nbsp;&nbsp;&nbsp;</div>";
}
?>
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: 3 Guest(s)