Lee
Well-known member
I want to run this code:
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...?
PHP:
<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...?