本文整理汇总了PHP中database4::inpatient_deposit方法的典型用法代码示例。如果您正苦于以下问题:PHP database4::inpatient_deposit方法的具体用法?PHP database4::inpatient_deposit怎么用?PHP database4::inpatient_deposit使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database4
的用法示例。
在下文中一共展示了database4::inpatient_deposit方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
include "../../myDatabase3.php";
include "../../myDatabase4.php";
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$month1 = $_GET['month1'];
$day1 = $_GET['day1'];
$year1 = $_GET['year1'];
$ro3 = new database3();
$ro4 = new database4();
$date = $year . "-" . $month . "-" . $day;
$date1 = $year1 . "-" . $month1 . "-" . $day1;
echo "<form method='post' action='inpatient-total.php' target='_blank'>";
$ro3->transactionSummaryDischarge($date, $date1);
echo "<Br><br>";
$ro4->inpatient_deposit($date, $date1, "Cash");
$ro4->inpatient_deposit($date, $date1, "Credit Card");
$deposit_cash = 0;
$deposit_creditCard = 0;
?>
DEPOSIT
<table border=1 cellspacing="0">
<tr>
<th>Reg#</th>
<th>Discharge</th>
<th>Cash</th>
<th>Credit Card</th>
</tr>
<?php
for ($a = 0, $b = 0, $c = 0, $d = 0; $a < count($ro4->inpatient_deposit_registrationNo()), $b < count($ro4->inpatient_deposit_dateUnregistered()), $c < count($ro4->inpatient_deposit_amountPaid()), $d < count($ro4->inpatient_deposit_paidVia()); $a++, $b++, $c++, $d++) {
?>
示例2: database
include "../../myDatabase.php";
include "../../myDatabase4.php";
?>
<?php
$date1 = $_GET['date1'];
$date2 = $_GET['date2'];
$payment = $_GET['payment'];
$paymentTotal = 0;
?>
<?php
$ro = new database();
$ro4 = new database4();
$ro4->inpatient_discharged($date1, $date2);
$ro4->inpatient_deposit($date1, $date2, $payment);
?>
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="UTF-8">
<script src="../../jquery-2.1.4.min.js"></script>
<script src="../js/jquery-ui.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
<link rel="stylesheet" href="../js/jquery-ui.css"></link>
<link rel="stylesheet" href="../js/jquery-ui.theme.min.css"></link>
<script>
$(document).ready(function(){