質問編集履歴
2
処理
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
<form action ="edit.php" method="post">
|
16
16
|
|
17
|
-
<input type="hidden" name="se
|
17
|
+
<input type="hidden" name="select" value="search"> //後に工場で分けるswitch分用
|
18
18
|
|
19
19
|
<th><select name ="locationset">
|
20
20
|
|
1
内容の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -89,3 +89,19 @@
|
|
89
89
|
}
|
90
90
|
|
91
91
|
```
|
92
|
+
|
93
|
+
```元々の処理.php
|
94
|
+
|
95
|
+
$pdo = new PDO('mysql:host=localhost;dbname=workinfo;charset=utf8','user','user');
|
96
|
+
|
97
|
+
if (isset($_REQUEST['search'])) {
|
98
|
+
|
99
|
+
foreach ($pdo ->query(Select * from factory1")as $row){
|
100
|
+
|
101
|
+
配列分表示する処理(長い為省略)
|
102
|
+
|
103
|
+
}
|
104
|
+
|
105
|
+
}
|
106
|
+
|
107
|
+
```
|