I'm currently trying to add a block with php in it.
To quote the Knowledge Base:
Well fine. But now I want to get information from php and display it, like the count of registered accounts in my gameserver database. echo "test"; doesn't output anything in my block.If you need to execute PHP code for your new block, there is an easy way to do this. Adding PHP Code to the block file will not do anything at all. Open portal/block/additional_blocks.php and add your PHP right in front of this:
I can't figure out how to do this. Can anyone tell me please?