本文整理汇总了PHP中database2::deleteNow方法的典型用法代码示例。如果您正苦于以下问题:PHP database2::deleteNow方法的具体用法?PHP database2::deleteNow怎么用?PHP database2::deleteNow使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database2
的用法示例。
在下文中一共展示了database2::deleteNow方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<?php
include "../../../myDatabase2.php";
$date = $_GET['date'];
$username = $_GET['username'];
$ro = new database2();
$ro->deleteNow("generatorCharge", "dateStart", $date);
echo "<center>";
echo "<Br><br><Br><Br><Br><Br>";
echo "<font color=red>Deleted!</font>";
echo "</center>";
示例2:
<?php
include "../../../myDatabase2.php";
$radioSavedNo = $_GET['radioSavedNo'];
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->deleteNow("radioSavedReport", "radioSavedNo", $radioSavedNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Results/clinicalChemistry/view_labTest_done.php?registrationNo={$registrationNo}&username={$username}");
示例3:
<?php
include "../../../myDatabase2.php";
$collectionNo = $_GET['collectionNo'];
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$ro = new database2();
$ro->deleteNow("cashCollection", "collectionNo", $collectionNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Cashier/cashCollection/cashCollectionDetails.php?month={$month}&day={$day}&year={$year}");
示例4:
<?php
include "../../../myDatabase2.php";
$chargeNo = $_GET['chargeNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->deleteNow("generatorCharge", "chargeNo", $chargeNo);
echo "<center>";
echo "<Br><br><Br><Br><Br><Br>";
echo "<font color=red>Deleted!</font>";
echo "</center>";
示例5:
<?php
include "../../../myDatabase2.php";
$templateNo = $_POST['templateNo'];
$ro = new database2();
$ro->deleteNow("labResultList", "templateNo", $templateNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Laboratory/resultList/resultFormMasterfile.php");
示例6:
<?php
include "../../../myDatabase2.php";
$orderNo = $_GET['orderNo'];
$batchNo = $_GET['batchNo'];
$ro = new database2();
$ro->deleteNow("orderForm", "orderNo", $orderNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/availableMedicine/reOrder/orderForm_update.php?batchNo={$batchNo}");
示例7:
<?php
include "../../myDatabase2.php";
$dietNo = $_POST['dietNo'];
$username = $_POST['username'];
$ro = new database2();
$ro->deleteNow("dietList", "dietNo", $dietNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/dietary/viewDiet.php?username={$username}");
示例8:
<?php
include "../../../myDatabase2.php";
$controlNo = $_GET['controlNo'];
$ro = new database2();
$ro->deleteNow("vouchers", "controlNo", $controlNo);
echo "Voucher Deleted";
示例9:
<?php
include "../../../myDatabase2.php";
$itemNo = $_POST['itemNo'];
$registrationNo = $_POST['registrationNo'];
$ro = new database2();
$ro->deleteNow("patientCharges", "itemNo", $itemNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/viewHospitalCharges.php?registrationNo={$registrationNo}");
示例10:
<?php
include "../../../myDatabase2.php";
$verificationNo = $_GET['verificationNo'];
$batchNo = $_GET['batchNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->deleteNow("inventoryManager", "verificationNo", $verificationNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/requestition/batchRequest/showCart_update.php?batchNo={$batchNo}&username={$username}");