當前位置: 首頁>>代碼示例>>PHP>>正文


PHP database2::dispensedMonitor方法代碼示例

本文整理匯總了PHP中database2::dispensedMonitor方法的典型用法代碼示例。如果您正苦於以下問題:PHP database2::dispensedMonitor方法的具體用法?PHP database2::dispensedMonitor怎麽用?PHP database2::dispensedMonitor使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在database2的用法示例。


在下文中一共展示了database2::dispensedMonitor方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

<?php

include "../../../myDatabase2.php";
$inventoryCode = $_GET['inventoryCode'];
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$fromTime_hour = $_GET['fromTime_hour'];
$fromTime_minutes = $_GET['fromTime_minutes'];
$fromTime_seconds = $_GET['fromTime_seconds'];
$toTime_hour = $_GET['toTime_hour'];
$toTime_minutes = $_GET['toTime_minutes'];
$toTime_seconds = $_GET['toTime_seconds'];
$ro = new database2();
echo "<br>";
echo "<center><font size=5>" . $ro->selectNow("inventory", "description", "inventoryCode", $inventoryCode) . "</font></center>";
echo "<center>{$month} {$day}, {$year}</center>";
echo "<Center>( " . $fromTime_hour . ":" . $fromTime_minutes . ":" . $fromTime_seconds . " - " . $toTime_hour . ":" . $toTime_minutes . ":" . $toTime_seconds . ")</center>";
$ro->dispensedMonitor($inventoryCode, $month, $day, $year, $fromTime_hour, $fromTime_minutes, $fromTime_seconds, $toTime_hour, $toTime_minutes, $toTime_seconds);
開發者ID:rickyx12,項目名稱:protacio,代碼行數:19,代碼來源:monitoring_mar282014.php

示例2:

<?php

include "../../../myDatabase2.php";
$inventoryCode = $_GET['inventoryCode'];
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$month1 = $_GET['month1'];
$day1 = $_GET['day1'];
$year1 = $_GET['year1'];
$ro = new database2();
echo "<br>";
echo "<center><font size=5>" . $ro->selectNow("inventory", "description", "inventoryCode", $inventoryCode) . "</font></center>";
echo "<center>{$month} {$day}, {$year} - {$month1} {$day1}, {$year1}</center>";
$ro->dispensedMonitor($inventoryCode, $month, $day, $year, $month1, $day1, $year1);
echo "<br><br>";
$ro->getRequestedDept($inventoryCode, $year . "-" . $month . "-" . $day, $year1 . "-" . $month1 . "-" . $day1);
開發者ID:rickyx12,項目名稱:mendero,代碼行數:17,代碼來源:monitoring.php

示例3: date

<?php

include "../../../myDatabase2.php";
$inventoryCode = $_GET['inventoryCode'];
$ro = new database2();
echo "<br>";
echo "<center><font size=5>" . $ro->selectNow("inventory", "description", "inventoryCode", $inventoryCode) . "</font></center>";
echo "<center>Beginning QTY " . $ro->selectNow("inventory", "encodedQTY", "inventoryCode", $inventoryCode) . "</center>";
echo "<center>Remaining QTY " . $ro->selectNow("inventory", "quantity", "inventoryCode", $inventoryCode) . "</center>";
$date1 = date("Y") . "-01-01";
$date2 = date("Y") . "-12-31";
$ro->dispensedMonitor($inventoryCode, $date1, $date2);
echo "<br><br>";
//$ro->getRequestedDept($inventoryCode,$date1,$date2);
開發者ID:rickyx12,項目名稱:protacio,代碼行數:14,代碼來源:monitoring.php


注:本文中的database2::dispensedMonitor方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。