January 31st, 2013, 09:40 AM
Originally Posted by notflip
Should i fetch then in an array or something?
Yes, but put them in an associative array with the "name" as the key:
$fields = array();
foreach ($fields_query as $field)
$fields[$field['name']] = $field['content'];
Then you can simply fetch a specific field when you need it.