本文整理匯總了PHP中database1::coconutText方法的典型用法代碼示例。如果您正苦於以下問題:PHP database1::coconutText方法的具體用法?PHP database1::coconutText怎麽用?PHP database1::coconutText使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類database1
的用法示例。
在下文中一共展示了database1::coconutText方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: date
$ro->coconutHidden("registrationStatus", "new");
$ro->coconutHidden("casetype", "");
$ro->coconutHidden("dateRegistered", "");
$ro->coconutHidden("firstname", "n/a");
$ro->coconutHidden("middlename", "n/a");
$ro->coconutHidden("dateRegistered", date("Y-m-d"));
$ro->coconutHidden("month", date("M"));
$ro->coconutHidden("day", date("d"));
$ro->coconutHidden("birthYear", date("Y"));
$ro->coconutHidden("from", $from);
echo "<Br><Br><Br><Br><Br>";
$ro->coconutBoxStart("600", "140");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Name") . " </tD>";
echo "<td>";
$ro->coconutTextBox("lastname", "patient" . $patientNo . "_" . $registrationNo);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Gender") . "</td>";
echo "<Td>";
$ro->coconutComboBoxStart_long("gender");
echo "<option value='male'>Male</option>";
echo "<option value='female'>Female</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Senior") . "</tD>";
示例2:
$ro->coconutHidden("civilStatus", "");
$ro->coconutHidden("room", "OPD");
$ro->coconutHidden("bloodpressure", "");
$ro->coconutHidden("patientTemperature", "");
$ro->coconutHidden("weight", "");
$ro->coconutHidden("height", "");
$ro->coconutHidden("company", "");
$ro->coconutHidden("serverTime", "");
$ro->coconutHidden("registrationStatus", "new");
$ro->coconutHidden("casetype", "");
$ro->coconutHidden("dateRegistered", "");
$ro->coconutBoxStart("500", "250");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Last Name") . "</tD>";
echo "<Td>";
$ro->coconutTextBox("lastname", $ro->getLastName_patientRecord());
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("First Name") . "</tD>";
echo "<Td>";
$ro->coconutTextBox("firstname", $ro->getFirstName_patientRecord());
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Middle Name") . "</tD>";
echo "<Td>";
$ro->coconutTextBox("middlename", $ro->getMiddleName_patientRecord());
echo "</td>";