teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

修正

2016/10/27 06:15

投稿

amaguri
amaguri

スコア227

title CHANGED
File without changes
body CHANGED
@@ -6,6 +6,7 @@
6
6
  データベース情報
7
7
  DBS
8
8
  ・DB_ID
9
+ ・DB_NAME
9
10
 
10
11
  TBLS
11
12
  ・DB_ID

2

修正

2016/10/27 06:15

投稿

amaguri
amaguri

スコア227

title CHANGED
File without changes
body CHANGED
@@ -44,7 +44,7 @@
44
44
  $tble=$name['TBL']['TBL_NAME'];
45
45
  $buffer=$tble;
46
46
  $p_tble="<option value='$buffer' selected>$buffer</option>";
47
- print($p_database);
47
+ print($p_table);
48
48
  }
49
49
  ?>
50
50
  </select>

1

追記

2016/10/27 04:29

投稿

amaguri
amaguri

スコア227

title CHANGED
File without changes
body CHANGED
@@ -30,6 +30,7 @@
30
30
  }
31
31
  ?>
32
32
  これで選ばれたDBのDB_IDの取得を行い
33
+ プルダウンで選択されたDBのDB_ID=$db_id
33
34
 
34
35
  C
35
36
  $sql ="select * from TBLS where DB_ID =$db_id;";