"Example_Session")); //Header("Cache-Control: no-cache"); //Header("Pragma: no-cache"); $db = new DB_Example; // That's a DB_Sql subclass. $t = new Table; // For formatting results $t->heading = "on"; // We want table headings.. // ◆◇◆◇ 関数の定義 ◆◇◆◇ // Option を表示 function printOption($name="", $ovalue="", $olabel="", $sel="f") { print(" \n"); } // RadioButton を表示 function printRadio($name="", $ovalue="", $olabel="", $sel="f", $opt="") { print(" \n $olabel\n"); } // Option List の表示 function printOptionList ($table="", $selid="", $name="", $type="option") { global $db; if ($table == "") { exit; } $sql = "select id, label from $table "; @$result = $db->query($sql); // selectを実行 $rows = $db->num_rows(); for ($rec = 0; $rec < $rows; $rec++) { $ovalue = pg_result($result,$rec,0); $olabel = pg_result($result,$rec,1); $sel = "f"; if ($ovalue == $selid) { $sel = "t"; } if ($type == "option") { printOption($name, $ovalue, $olabel, $sel); } else { if ($type == "radio") { printRadio($name, $ovalue, $olabel, $sel); } else { printRadio($name, $ovalue, $olabel, $sel, "quick"); } } } } // ◆◇◆◇ コマンドの実行 ◆◇◆◇ //データの取り出しと格納 if ($id > 0) { $id = ereg_replace("\\\\'","'",$id); $sql = "select * from tblfacility where id = '$id'"; // magic quote を削除 @$result = $db->query($sql); // selectを実行 $fields = $db->num_fields(); // 列数を取得 $rows = $db->num_rows(); for ($i = 0;$i < $fields;$i++) { $fname = pg_fieldname($result,$i); // 列名の取り出し $fdata[$fname] = pg_result($result,0,$i); // データの取り出し //print($fname . ": " . $fdata[$fname] . "
\n"); } } ?> 施設情報の登録
子どもと女性の医療・福祉相談窓口
WOM Produce

施設情報の登録

あなたの連絡先
お名前 > ※必須
電子メールアドレス > ※半角英数字 ※必須
日本語情報
施設名 > ※必須
分野1 ※必須
分野2
分野3
分野4
分野5
施設種類 ※必須
郵便番号 > ※半角英数字
都道府県 ※必須
住所
電話番号 > ※半角英数字
ファックス > ※半角英数字
電子メール > ※半角英数字
URL > ※半角英数字
対応言語 >
コメント
英語情報 − 分かる範囲でご記入ください。
Name > ※半角英数字
Address ※半角英数字
Language > ※半角英数字
Comment ※半角英数字

[検索フォームに戻る] [メニュー画面に戻る]