Getting Value from Array
-
Hello. This is regarding Users. The fields had been extended with another plugin. And I can extend it further with pods, and pods allows me to use their magic tags even with the other plugin’s fields. YAY!
It’s great.
But one field is giving me trouble. It’s an image field. Using the magic tag with the field ‘agent_images’ (which is a field from another plugin) produces a number on the page: 750294 (for one particular user profile example). So I downloaded all user data to see what actually downloads, and I get something an array like this for a user for that field:
a:1:{i:0;s:6:”750294″;}
Any idea on how I can use the pods shortcode/magic tags to convert this to an image URL?
- The topic ‘Getting Value from Array’ is closed to new replies.