includePHP module for PHP - Joomla! Forum - community, help and support


hi all, new joomla, started modules stuff , beginning much, no doubt, why hard write php on joomla, may missing thing

please help, googled night , today, there couple of plugins, like
direct-php, mod_php, , includephp, tried

lastly on includephp, php code shows not executed,
enabled includephp in plugin manager

go error:
parse error: parse error in c:\xampp\htdocs\joomla15\plugins\content\includephp.php(29) : eval()'d code on line 1


my article contains following 2 ways of calling php code:

{php} echo date("l"); {/php}

<?php
// set default timezone use. available since php 5.1
date_default_timezone_set('utc');


// prints like: monday
echo date("l");

// prints like: monday 8th of august 2005 03:12:46 pm
echo date('l js \of f y h:i:s a');

// prints: july 1, 2000 on saturday
echo "july 1, 2000 on " . date("l", mktime(0, 0, 0, 7, 1, 2000));

/* use constants in format parameter */
// prints like: mon, 15 aug 2005 15:12:46 utc
echo date(date_rfc822);

// prints like: 2000-07-01t00:00:00+00:00
echo date(date_atom, mktime(0, 0, 0, 7, 1, 2000));
?>

please, please help, totally frustrated, there write php after installing , going throuh myjoomcast excellent video tutorials, interested in going forward,
please me through obstacle






Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support