ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,700
- Points
- 823
Reputation:
I want to run this code:
PHP:
In a template, which works fine. The result however is an array of data (serialized?). Is it possible to use an individual part of the Array within the template...?
Continue reading...
PHP:
Code:
<xf:foreach loop="$xf.app.db.fetchAll('SELECT custom_fields FROM xf_user_profile WHERE user_id = ?', [$quotedUser])" value="$row">
{$row.custom_fields}
</xf:foreach>
In a template, which works fine. The result however is an array of data (serialized?). Is it possible to use an individual part of the Array within the template...?
Continue reading...