Include PHP in left block

Hi all



I need to include some stats PHP code in my left HTML block, but I believe, there must be some kind of wrapper for PHP to work. Does anyone know how to??? Thanks.

{php}



{/php}

Hi



I tried that and all I can see is:



{php} {/php}



To code in between is OK and a pure PHP. No clue what to do. Thanks.

you’ve got to have the block itself with the {php} tags in code form (encode it into the TPL) and use the same block name etc, just rename it to something like left-block php and run the script inside the block. I suggest against using the WYSIWYG interface.