Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Trying to access custom variable data via php
Like the subject says… I’m trying to access data in my custom field via raw php (or using the <txp:php> tag). I need to set the data from the custom field as a variable so that I can manipulate it.
Thanks
Dan | iamdanielmarino.com
Offline
Re: Trying to access custom variable data via php
http://www.focusontheclouds.com/home/articles/72/accessing-global-variables-in-textpattern
guess I didn’t read the comments close enough the first time – see comment #3:
$GLOBALS[‘thisarticle’][‘Name of Custom Field’]
Dan | iamdanielmarino.com
Offline
Offline