本文整理汇总了PHP中database1::coconutComboBoxStart_short方法的典型用法代码示例。如果您正苦于以下问题:PHP database1::coconutComboBoxStart_short方法的具体用法?PHP database1::coconutComboBoxStart_short怎么用?PHP database1::coconutComboBoxStart_short使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database1
的用法示例。
在下文中一共展示了database1::coconutComboBoxStart_short方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Gender") . "</tD>";
echo "<Td>";
$ro->coconutComboBoxStart_long("gender");
echo "<option value='" . $ro->getGender_patientRecord() . "'>" . $ro->getGender_patientRecord() . "</option>";
echo "<option value='male'>Male</option>";
echo "<option value='female'>Female</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
$bday = preg_split("/\\_/", $ro->getBirthDate_patientRecord());
echo "<tr>";
echo "<Td>" . $ro->coconutText("Birthdate") . "</tD>";
echo "<Td>";
$ro->coconutComboBoxStart_short("month");
echo "<option value='" . $bday[0] . "'>" . $bday[0] . "</option>";
echo "<option value='Jan'>Jan</option>";
echo "<option value='Feb'>Feb</option>";
echo "<option value='Mar'>Mar</option>";
echo "<option value='Apr'>Apr</option>";
echo "<option value='May'>May</option>";
echo "<option value='Jun'>Jun</option>";
echo "<option value='Jul'>Jul</option>";
echo "<option value='Aug'>Aug</option>";
echo "<option value='Sep'>Sep</option>";
echo "<option value='Oct'>Oct</option>";
echo "<option value='Nov'>Nov</option>";
echo "<option value='Dec'>Dec</option>";
$ro->coconutComboBoxStop();
echo " - ";
示例2: date
<?php
include "../../myDatabase1.php";
$username = $_GET['username'];
$ro = new database1();
$ro->coconutDesign();
echo "<br><br><Br>";
$ro->coconutFormStart("get", "cashCollection.php");
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("400", "115");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Date </td>";
echo "<td>";
$ro->coconutComboBoxStart_short("month");
echo "<option value='" . date("M") . "'>" . date("M") . "</option>";
echo "<option value='Jan'>Jan</option>";
echo "<option value='Feb'>Feb</option>";
echo "<option value='Mar'>Mar</option>";
echo "<option value='Apr'>Apr</option>";
echo "<option value='May'>May</option>";
echo "<option value='Jun'>Jun</option>";
echo "<option value='Jul'>Jul</option>";
echo "<option value='Aug'>Aug</option>";
echo "<option value='Sep'>Sep</option>";
echo "<option value='Oct'>Oct</option>";
echo "<option value='Nov'>Nov</option>";
echo "<option value='Dec'>Dec</option>";
$ro->coconutComboBoxStop();
echo " ";
示例3:
<?php
include "../../../myDatabase1.php";
$ro = new database1();
$ro->coconutDesign();
echo "<br><br><br><br><Br>";
$ro->coconutFormStart("get", "showTrialBalance.php");
$ro->coconutBoxStart("400", "80");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Month </tD>";
echo "<td>";
$ro->coconutComboBoxStart_short("month");
echo "<option value='Jan'>Jan</option>";
echo "<option value='Feb'>Feb</option>";
echo "<option value='Mar'>Mar</option>";
echo "<option value='Apr'>Apr</option>";
echo "<option value='May'>May</option>";
echo "<option value='Jun'>Jun</option>";
echo "<option value='Jul'>Jul</option>";
echo "<option value='Aug'>Aug</option>";
echo "<option value='Sep'>Sep</option>";
echo "<option value='Oct'>Oct</option>";
echo "<option value='Nov'>Nov</option>";
echo "<option value='Dec'>Dec</option>";
$ro->coconutComboBoxStop();
echo " ";
$ro->coconutComboBoxStart_short("year");
for ($x = date("Y"); $x >= 1990; $x--) {
echo "<option value='{$x}'>{$x}</option>";