Hello!
I have this query:
Código PHP:
<?PHP
$SQL = "SELECT
SUM(pte_circuns_her_arm_fuego) FROM jos_polnac_partediario_gen
WHERE departamento_pn="1" AND fecha_hora_partediario BETWEEN DATE ('2010-10-17 17:33:00') AND ('2010-10-20 00:55:00')";
?>
When I run the query in SQLYog returns the total of 32, which is correct.
I can't get to "echo" this value. Can you please show me the correct way of echoing this result?
Thanks!