質問編集履歴

3

select文追記

2021/04/20 02:59

投稿

test1234
test1234

スコア8

test CHANGED
File without changes
test CHANGED
@@ -30,7 +30,17 @@
30
30
 
31
31
    /***データベースから10000レコード取得***/
32
32
 
33
+ $sql="select s_code,s_name,s_kata from master where s_kubun = '1' order by s_kata desc ";
34
+
35
+ $result=mysql_query($sql);
36
+
37
+ while($row=mysql_fetch_array($result)){
38
+
39
+        $code_get = $row['s_code'];
40
+
33
- <option value='".$code."'>
41
+ echo "<option value=".$code_get.">";
42
+
43
+ }
34
44
 
35
45
  </datalist>
36
46
 

2

修正

2021/04/20 02:59

投稿

test1234
test1234

スコア8

test CHANGED
File without changes
test CHANGED
@@ -42,8 +42,6 @@
42
42
 
43
43
 
44
44
 
45
- </tbody>
46
-
47
45
  </form>
48
46
 
49
47
  ```

1

markdownを使用

2021/04/20 02:42

投稿

test1234
test1234

スコア8

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
 
12
12
 
13
-
13
+ ```ここに言語を入力
14
14
 
15
15
  <form action='#' name='form_head' method='post'>
16
16
 
@@ -45,3 +45,5 @@
45
45
  </tbody>
46
46
 
47
47
  </form>
48
+
49
+ ```