View Single Post
  #12  
Old 23rd September 2010, 18:41
bruno_floyd bruno_floyd is offline
Member
 
Join Date: Aug 2010
Posts: 73
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Any ideia till?

i'm trying to get a SUM(field) from my DB and show it on my indicacao_list.htm using this:

<td class="tbl_col_valor_contrato"><a href="#" onClick="loadContent('indicacao/indicacao_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="valor_comissao"}</a></td>
<td class="tbl_col_total_valor_comissionado"><a href="#" onClick="loadContent('indicacao/indicacao_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="total_valor_comissionado"}</a></td>

How can I simply get this calculated value and show there? Where do I have to write de SQL sentence? on my indicacao.tform.php?

Thanks a lot!!!
Reply With Quote