FetchRow(); $ia = array(0 => $qid, 1 => "FIELDNAME", 2 => $qrows['title'], 3 => $qrows['question'], 4 => $qrows['type'], 5 => $qrows['gid'], 6 => $qrows['mandatory'], 7 => $qrows['other']); $answers = retrieveAnswers($ia); $thistpl="$templaterootdir/".$thissurvey['template']; doHeader(); $dummy_js = '