hi to all masters in CI and GC, im new to CI and GC
i have question, i have table called rating with fields
rating1 | rating2 | rating3
and i want to compute the avg of all my 3 fields that show on my
$c->callback_column('Total AVG',array($this,'total_avg'));
$c->callback_column('Interpretation',array($this,'interpretation'));
---------------------------------------------------------------------------------
public function total_avg($row)
{
?: i dont know what code i put here to get that result.. please help guys
}
-------------------------------------------------------------------------------
public function interpretation($row)
{
?: i dont know what code i put here to get that result.. please help guys
}
example output/result on my GC table grid:
rating 1 | rating 2 | rating 3| TOTAL AVG | Interpretation
93 93 93 93 superior