- Code: Select all
<?php
class tables_objekt {
function summa_est(){
$result_est = mysql_query("select sum(est_low) as sum_low_est from objekt", $app->db());
return $result_est;
}
}
?>
Then I have made an extra slot in my own copy of the entire Dataface_Main_Template.html in my templates folder. In this slot I call another template. How can I access the value of the summa_est() function?