本文整理匯總了PHP中database4::list_laboratory_result方法的典型用法代碼示例。如果您正苦於以下問題:PHP database4::list_laboratory_result方法的具體用法?PHP database4::list_laboratory_result怎麽用?PHP database4::list_laboratory_result使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類database4
的用法示例。
在下文中一共展示了database4::list_laboratory_result方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: database
$ro = new database();
$ro4 = new database4();
if (isset($_POST['month'])) {
$month = $_POST['month'];
} else {
$month = date("m");
}
if (isset($_POST['year'])) {
$year = $_POST['year'];
} else {
$year = date("Y");
}
$monthWord = array("01" => "January", "02" => "February", "03" => "March", "04" => "April", "05" => "May", "06" => "June", "07" => "July", "08" => "August", "09" => "September", "10" => "October", "11" => "November", "12" => "December");
$from = $year . "-" . $month . "-" . "01";
$to = $year . "-" . $month . "-" . "31";
$ro4->list_laboratory_result($from, $to);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<script src="../js/jquery-2.1.4.min.js"></script>
<script src="../js/open.js"></script>
<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
<script>
$(document).ready(function(){
<?php
if ($ro4->list_laboratory_result_savedNo() != "") {
?>