当前位置: 首页>>代码示例>>PHP>>正文


PHP database2::insert_soap方法代码示例

本文整理汇总了PHP中database2::insert_soap方法的典型用法代码示例。如果您正苦于以下问题:PHP database2::insert_soap方法的具体用法?PHP database2::insert_soap怎么用?PHP database2::insert_soap使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在database2的用法示例。


在下文中一共展示了database2::insert_soap方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

<?php

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$username = $_GET['username'];
$chiefComplaints = $_GET['chiefComplaints'];
$doctorsOrder = $_GET['doctorsOrder'];
$ro = new database2();
$ro->editNow("registrationDetails", "registrationNo", $registrationNo, "initialDiagnosis", $chiefComplaints);
if ($ro->selectNow("SOAP", "itemNo", "itemNo", $itemNo) == "") {
    $ro->insert_soap($itemNo, $registrationNo, $chiefComplaints, "", "", $doctorsOrder);
} else {
    $ro->editNow("SOAP", "itemNo", $itemNo, "plan", $doctorsOrder);
}
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/viewPatient_information.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("username", $username);
echo "<br><br><br><br><br><center>";
$ro->coconutBoxStart("400", "60");
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
?>

开发者ID:rickyx12,项目名称:protacio,代码行数:26,代码来源:addDoctorsOrder.php

示例2:

include "../../../myDatabase2.php";
$batchNo = $_GET['batchNo'];
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$itemNo = $_GET['itemNo'];
$subjective = $_GET['subjective'];
$objective = $_GET['objective'];
$assessment = $_GET['assessment'];
$ro = new database2();
if ($ro->selectNow("SOAP", "itemNo", "itemNo", $itemNo) != "") {
    $ro->doubleEditNow("SOAP", "itemNo", $itemNo, "registrationNo", $registrationNo, "subjective", $subjective);
    $ro->doubleEditNow("SOAP", "itemNo", $itemNo, "registrationNo", $registrationNo, "objective", $objective);
    $ro->doubleEditNow("SOAP", "itemNo", $itemNo, "registrationNo", $registrationNo, "assessment", $assessment);
} else {
    $ro->insert_soap($itemNo, $registrationNo, $subjective, $objective, $assessment, "");
}
echo "<div style='background:#47a3da; margin:10px; height:60px; width:350px; border-radius:15px;' >";
echo "<br><center>";
echo "<table border=0>";
echo "<tr>";
echo "<td>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/mobileAddCharges_charges_handler.php");
echo "<input type='submit' style='background:#47a3da; border:0px; color:white; font-weight:bold; font-size:20px;' value='Charges'>";
$ro->coconutHidden("batchNo", $batchNo);
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("room", $ro->selectNow("registrationDetails", "room", "registrationNo", $registrationNo));
$ro->coconutHidden("username", $username);
$ro->coconutFormStop();
echo "</td>";
echo "<td>";
开发者ID:rickyx12,项目名称:protacio,代码行数:30,代码来源:mobileAddCharges.php


注:本文中的database2::insert_soap方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。