S
Syndol
Guest
I am trying to pass a variable to a PHP file via a template link:
However, the link always shows 'index.php?phpfile/user_id/
and once inside the PHP file, the
does not work.
There is no doubt a simple and elegant XenForo way of passing and retrieving variables from template to file - so what am I missing here
Thanks in advance.
HTML:
<a href="{xen:link phpfile, $post}" class="OverlayTrigger">myLink</a>
However, the link always shows 'index.php?phpfile/user_id/
and once inside the PHP file, the
PHP:
->filterSingle('variable', XenForo_Input::UINT);
->filterSingle('variable', XenForo_Input::ARRAY_SIMPLE);
There is no doubt a simple and elegant XenForo way of passing and retrieving variables from template to file - so what am I missing here
Thanks in advance.