Pls, I need help with this:
$sql = “SELECT
result_answer_points
FROM results_answers
WHERE resultid = ‘{id}’”;
sc_lookup(ds,$sql);
if (empty({ds})) ( here I need to know if the field “result_answer_points = 0” thank you in advance for helping me)
{
{correcion}= “Corregir pdtes.”;
sc_field_color (“coreccion”, “#FF0000”);
}
else
{
{correcion}= “Corregir pdtes.”;
sc_field_color (“correccion”, “#0D4FCF”);
}