Ok guys this is my code:
if (!is_array($html_strings[$form_name])) {$html_strings[$form_name] = array();}
array_push($html_strings[$form_name], "<input type='checkbox' ".
" name='" . $result{"formdir"} . "_" . $result{"form_id"} . "'".
" id='" . $result{"formdir"} . "_" . $result{"form_id"} . "'".
" value='" . $result{"encounter"} . "'" .
" class='encounter_form' ".
">" . xl_form_title($result{"form_name"}) . "<br>
");
and I am getting the following notice "Notice: Undefined index: Nota de Consulta"
Any help on fixing this issue?