I'm having trouble adding this
<?php echo (set_value('first_name')) ? (set_value('first_name')) : ($row->first_name); ?>
to the value item in the following array
$first_name = array(
'name' => 'first_name',
'id' => 'first_name',
'value' => ' ',
'maxlength' => '20',
'class' => 'text',
);
I tried using quotes and other methods but I get errors. How should I format it for array?