本文整理汇总了PHP中database1::deleteNow方法的典型用法代码示例。如果您正苦于以下问题:PHP database1::deleteNow方法的具体用法?PHP database1::deleteNow怎么用?PHP database1::deleteNow使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database1
的用法示例。
在下文中一共展示了database1::deleteNow方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<?php
include "../../../myDatabase1.php";
$headingNo = $_GET['headingNo'];
$username = $_GET['username'];
$ro = new database1();
$ro->deleteNow("radioHeading", "headingNo", $headingNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Results/Radiology/radioHeadingMasterfile.php?username={$username}");
示例2:
<?php
include "../../../myDatabase1.php";
$packageName = $_GET['packageName'];
$ro = new database1();
$ro->deleteNow("hospitalPackage", "packageName", $packageName);
示例3:
<?php
include "../../../myDatabase1.php";
$reportNo = $_GET['reportNo'];
$username = $_GET['username'];
$ro = new database1();
$ro->deleteNow("radioReportList", "reportNo", $reportNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Results/Radiology/radioReportTemplateMasterfile.php?username={$username}");
示例4: date
<?php
include "../../../myDatabase1.php";
$paymentNo = $_GET['paymentNo'];
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database1();
$ro->getPatientProfile($registrationNo);
$ro->addVoidPayment($registrationNo . "_" . $ro->getPatientRecord_completeName(), "IPD_DELETE_" . $ro->selectNow("patientPayment", "paymentFor", "paymentNo", $paymentNo), $ro->selectNow("patientPayment", "amountPaid", "paymentNo", $paymentNo), $ro->getSynapseTime(), date("Y-m-d"), $username);
$ro->deleteNow("patientPayment", "paymentNo", $paymentNo);
echo "\n\n<script type='text/javascript'>\nwindow.location='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/Payments/viewPayment.php?username={$username}®istrationNo={$registrationNo}'\n</script>\n\n";