title: expressionengine channel custom field to PHP array?
body: <p>Is it possible to assign channel custom fields to PHP array var?</p>
  
  <p>Something like this:</p>
  
  <pre><code>{exp:channel:entries channel="challenges" require_entry="yes" limit="1" cache="yes" refresh="60"}
  
  {reverse_related_entries id="week_stats"}
  &lt;?php
  $i = 1;
  $stats[$i]['fat'] = "{body_fat}";
  $stats[$i]['weight'] = "{weight}";
  $stats[$i]['biceps'] = "{bicep_left}";
  $stats[$i]['chest'] = "{chest}";
  $stats[$i]['thigh'] = "{thigh_left}"
  $i++
  ?&gt;
  
  {/reverse_related_entries}
  &lt;?php print_r($stats);?&gt;
  ...
  ...
  ...
  {/exp:channel:entries}
  </code></pre>
  
  <p>Of course PHP template parsing should be ON (output). I tried this but cant get it work with array??</p>
  
  <p>Any tips?</p>