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="$publicdir/templates"; doHeader(); //echo "\t\t\t\t
"; echo "
\n"; $question=""; $answer=$answers[0][1]; $help=$answers[0][2]; $questioncode=$answers[0][5]; echo templatereplace(file_get_contents("$thistpl/preview.pstpl")); echo "
\n"; echo "\n"; exit; ?>