コード例 #1
0
ファイル: special_mnt.php プロジェクト: smilecs/microfinance
  </tr>
  <tr>
    <th>
      Total Amount Deposited
    </th>
    <td><?php 
echo thrift_special_mnt(2)[1];
?>
</td>
  </tr>
  <tr>
    <th>
      Total Number of Accounts Opened
    </th>
    <td><?php 
echo thrift_special_mnt(2)[2];
?>
</td>
  </tr>


</table>
</div>
</div>
</div>
<?php 
$date = date("Y-m-d");
$date = split('-', $date);
$date = $date[0] . "-" . $date['1'];
$arr = [0, 0, 0, 0];
$result = query("SELECT * FROM deposit WHERE acct_type='2' AND date LIKE '{$date}-%' ORDER BY date");
コード例 #2
0
ファイル: thrift_mnt.php プロジェクト: smilecs/microfinance
  </thead>
  <tr>
    <th>
      Total Number Deposits
    </th>
    <td><?php 
echo thrift_special_mnt(1)[0];
?>
</td>
  </tr>
  <tr>
    <th>
      Total Amount Deposited
    </th>
    <td><?php 
echo thrift_special_mnt(1)[1];
?>
</td>
  </tr>


</table>
</div>
</div>
</div>
<?php 
$date = date("Y-m-d");
$date = split('-', $date);
$date = $date[0] . "-" . $date['1'];
$arr = [0, 0, 0, 0];
$result = query("SELECT * FROM deposit WHERE acct_type='1' AND date LIKE '{$date}-%' ORDER BY date");