Loading...
 
Skip to main content

Features / Usability


Can I use php inside my pages ?

This must be simple but I don't know how and I don't find it in the documentation.
I'd like to know if I can add php code (I mean a dynamic page) in a page created inside tikiwiki.

For example, I tried :
<?php
echo "Hello World";
?>

and I got nothing displayed. With {ed id = <?php}echo "Hi there";{ted id=?>} I get
''echo "Hi there";

?

Thanks for any help 😊

You can do that for security reason, php code are cleaned....
The best is to do a plugin... Since we are talking about this perhaps somebody has written one (check in the mods perhaps)