I have tried to pass PHP Variables to an extension I am writing, but have been unsuccessful.
For example, let’s say I have a PHP variable:
“pass_this_var” => “whatever”,
In the extension I write:
<?php $whatever = ‘{pass_this_var}’; ?>
This returns {pass_this_var} and not the contents of the variable.
Am I right in assuming that this is because the extension has no way of parsing variables, or am I just not “getting” how to do this?
Thread Moved by Moderator
Edit: OK - I’m an Idiot -capital “I.” Here I am asking about PHP variables to be passed to a PHP routine - must be a gazillion ways. Forget I asked! Please?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.