I try to execute some PHP code from an article (exactly I would like to read a table from the database using PHP and create a html table out of it).
For testing I just put in:
<?php
echo "test";
?>
I also tried
[PHP]
echo "test";
[/PHP]
without success Maybe I'm missing something basic?
In the template section it works though...
Regards, Beppo
PHP code inside html (article)
"conf.inc.php"
Code: Select all
$phpwcms['allow_cntPHP_rt'] = 1; //allow PHP replacement tags and includes in content parts
Aha, exactly, thanks!
DeXXus wrote:"conf.inc.php"Code: Select all
$phpwcms['allow_cntPHP_rt'] = 1; //allow PHP replacement tags and includes in content parts