Hi guys!
After sifting through the Add-On Development guide, and having spent 15 minutes searching through the forums, I’ve admitted defeat — how do I call an ExpressionEngine variable within PHP?
As an example, I want to parse a URL, using the value of a Custom Field as the variable:
$array = parse_url($product_pdf, PHP_URL_PATH); print_r($array);But this doesn’t work.
Any help would be much appreciated!
Also, if you could provide me with a link to the relevant resources (so I can learn myself), that would excellent.