本文整理汇总了PHP中database2::showOption_with_value方法的典型用法代码示例。如果您正苦于以下问题:PHP database2::showOption_with_value方法的具体用法?PHP database2::showOption_with_value怎么用?PHP database2::showOption_with_value使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database2
的用法示例。
在下文中一共展示了database2::showOption_with_value方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<?php
include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$ro = new database2();
$ro->coconutDesign();
echo "<br><br><br>";
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/rBanny/approximate.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutBoxStart("500", "100");
echo "<br>";
echo "Case Rate: ";
$ro->coconutComboBoxStart_long("caserate");
echo "<option value=''></option>";
$ro->showOption_with_value("rBanny_caserate", "caserate", "caseNo");
$ro->coconutComboBoxStop();
echo "<br><Br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例2:
echo "<br><br><br>";
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/Laboratory/addReagents1.php");
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "350");
echo "<Br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>Lot No#</td>";
echo "<Td>" . $ro->coconutTextBox_return("referenceNo", "") . "\n</tD>";
echo "</tr>";
echo "<Tr>";
echo "<td>Permanent</td>";
echo "<Td>";
$ro->coconutComboBoxStart_long("permanentReference_selection");
echo "<option value=''></option>";
$ro->showOption_with_value("labReagents", "description", "permanentReference");
$ro->coconutComboBoxStop();
echo "<br><font size=2 color=red>Para malaman ng system kung anong reagents ang gagamitin [applicable to those existing reagents]</font>";
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Permanent</td>";
echo "<Td>" . $ro->coconutTextBox_return("permanentReference_input", "") . "\n<br><font size=2 color=red>Para malaman ng system kung anong reagents ang gagamitin [kung wala sa selection encode ng bago]</font>\n</tD>";
echo "</tr>";
echo "<Tr>";
echo "<td>Description</td>";
echo "<Td>" . $ro->coconutTextBox_return("description", "") . "</tD>";
echo "</tr>";
echo "<Tr>";
echo "<td>QTY</td>";
echo "<Td>" . $ro->coconutTextBox_return("qty", "") . "</tD>";
示例3:
include "../../../myDatabase2.php";
$title = $_GET['title'];
$ro = new database2();
$ro->coconutDesign();
echo "<br><br><Br><Br>";
$ro->coconutFormStart("get", "censusReport.php");
$ro->coconutHidden("title", $title);
$ro->coconutBoxStart("500", "150");
echo "<Br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>Doctor</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("doctorCode");
$ro->showOption_with_value("Doctors", "Name", "doctorCode");
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>From</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("month");
echo "<option value='01'>Jan</option>";
echo "<option value='02'>Feb</option>";
echo "<option value='03'>Mar</option>";
echo "<option value='04'>Apr</option>";
echo "<option value='05'>May</option>";
echo "<option value='06'>Jun</option>";
echo "<option value='07'>Jul</option>";
echo "<option value='08'>Aug</option>";