SHARE
TWEET

Untitled

a guest Feb 23rd, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ano_hoje = date('Y');
  2.  
  3. $janeiro_entrada = $conexao->query("SELECT SUM(entrada) AS total FROM caixa where  month(data_trans) ='01' AND YEAR(data_trans)='.$ano_hoje.'");
  4.  while ($row=$janeiro_entrada->fetch(PDO::FETCH_ASSOC)) {
  5.         extract($row);
  6.         $json2[]= (int)$row;
  7.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top