Mautic Community Forums

PHP in a landing page

Is there a way to insert PHP in a landing page? It gets commented out on save.

Is there a way to insert PHP in a landing page? It gets commented out on save.

I use PHP landing page but outside Mautic. I have tried this in the previous version with not luck need to test in the new version

+1 for this question.

You could insert your PHP code on database level. But please don’t re-open your template in the editor after that. :wink: