Pls note blue text, - Thank you in advance for help
$sql = "SELECT
answers.answer_correct,
results_answers.result_answer_iscorrect,
answers.answerid,
answers.questionid,
results_answers.result_answerid,
results_answers.questionid,
results_answers.result_answer_text,
results_answers.resultid
FROM
answers, results_answers
WHERE
results_answers.resultid = ‘[resultid]’ and
results_answers.questionid = ‘[questionid]’ and
answers.questionid = ‘[questionid]’ and
results_answers.result_answer_text = answers.answerid and
answers.answerid = ‘{answerid}’";
sc_lookup(ds,$sql);
if (empty({ds}))
{
{marcada}= “”;
}
else
{
if ({ds[0][0]}== 1 )
{
{marcada} = “Visto Bueno”; //( Here I need the field shows an image instead of text as for example: checklist.png) How can I do it
sc_field_color (“marcada”, “#FF0000”);
}
else
{
{marcada} = “Cruz”; //( Here I need the field shows an image instead of text as for example: crosswrong.png) how can I do it
sc_field_color (“marcada”, “#FF0000”);
}
}