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


PHP database1::showOption方法代码示例

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


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

示例1:

<?php

include "../../../myDatabase1.php";
$short = $_GET['short'];
$registrationNo = $_GET['registrationNo'];
$ro = new database1();
$ro->coconutDesign();
$ro->coconutFormStart("get", "insertMagicPackage.php");
$ro->coconutBoxStart("500", "120");
echo "<br>";
echo "Select Where do you want to put the <font color=red>" . number_format($short, 2) . "</font>";
echo "<br><br>";
$ro->coconutComboBoxStart_long("title");
$ro->showOption("Category", "Category");
$ro->coconutComboBoxStop();
$ro->coconutHidden("short", $short);
$ro->coconutHidden("registrationNo", $registrationNo);
echo "<br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:21,代码来源:magicPackage1_feb3.php

示例2:

$ro = new database1();
$ro->coconutDesign();
echo "<br><br><br>";
$ro->coconutFormStart("get", "radioReport_edit.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("description", $description);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "145");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Hospital</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("hospital");
$ro->showOption("radioHeading", "hospital");
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Report</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("report");
$ro->showOption("radioReportList", "title");
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Doctor</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("doctor");
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:radioReportSettings_edit.php

示例3:

echo "<option value='ER'>ER</option>";
echo "<option value='3A'>3A</option>";
echo "<option value='3B'>3B</option>";
echo "<option value='ICU'>ICU</option>";
echo "<option value='DR'>DR</option>";
echo "<option value='OR'>OR</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Request&nbsp;</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("inventoryType");
echo "<option value='medicine'>Medicine</option>";
echo "<option value='supplies'>Supplies</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Request By:</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("username");
$ro->showOption("registeredUser", "completeName");
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:requesting.php


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