User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

{source striphtml="true | false"} Your PHP-Code {/source}

If you want to execute PHP code, you can write your code between the tag source.

params: striphtml true or false default is: true

if you have the source and want to insert it (without filtering) use striphtml="false" for a correct output.

How to use it:

{source}
<style type="text/css">
/* Your CSS-Code */
</style>

<script type="text/javascript">
/* Your Script-Code */
</script>

<?php
/* Your PHP-Code */
echo 'I write my own code :)';
?>
{/source}

This writes the source code in the row in which they have used the tag.

Example:

I write my own code :)


Available for: