First off, why would you want to? If you are in the template then you can mix template tags and php quite easily!
Depending upon the why - i would look at creating a plugin or similar to do what you need. As PHP in the template is rarely needed, and it is safer to pull it out to a plugin, extension, module, etc.
N
Hi Neil,
Well originally… I was having parsing issues with {logged_in_username} as a parameter value. Therefore, the only solution I could think of was getting it with php.
However, I have no solved this thank you. I installed Mo Variables, which turns these global vars into early parsing variables. Also I now realise that low variables allows for this also.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.