質問編集履歴
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,31 +14,9 @@
|
|
14
14
|
|
15
15
|
$id1 = $_POST['id'];
|
16
16
|
|
17
|
-
}
|
17
|
+
}
|
18
18
|
|
19
|
-
if(isset($_POST['touroku']) && $_POST['touroku'] != ""){
|
20
|
-
|
21
|
-
$where[] = "( touroku = '" . $_POST['touroku']."')";
|
22
|
-
|
23
|
-
$touroku1 = $_POST['touroku'];
|
24
|
-
|
25
|
-
|
19
|
+
省略
|
26
|
-
|
27
|
-
if(isset($_POST['codo']) && $_POST['codo'] != ""){
|
28
|
-
|
29
|
-
$where[] = "( codo = '" . $_POST['codo']."')";
|
30
|
-
|
31
|
-
$codo1 = $_POST['codo'];
|
32
|
-
|
33
|
-
}
|
34
|
-
|
35
|
-
if(isset($_POST['name']) && $_POST['name'] != ""){
|
36
|
-
|
37
|
-
$where[] = "( name = '" . $_POST['name']."')";
|
38
|
-
|
39
|
-
$name1 = $_POST['name'];
|
40
|
-
|
41
|
-
}
|
42
20
|
|
43
21
|
|
44
22
|
|
@@ -58,35 +36,31 @@
|
|
58
36
|
|
59
37
|
echo "~検索結果~";
|
60
38
|
|
61
|
-
?>
|
62
|
-
|
63
|
-
<tr><th width="200">id</th><th width="200">トークン</th><th width="200">サイト名</th><th width="200">登録日</th><th width="200">広告コード</th><th width="200">名前</th><th width="200">メールアドレス</th><th width="200">電話番号</th><th width="200">予備</th></tr>
|
64
|
-
|
65
|
-
<?php
|
39
|
+
?>
|
66
40
|
|
67
41
|
|
68
42
|
|
69
|
-
foreach($stmt as $
|
43
|
+
foreach($stmt as $〇){
|
70
44
|
|
71
45
|
|
72
46
|
|
73
|
-
$id1=$
|
47
|
+
$id1=$〇['id'];
|
74
48
|
|
75
|
-
$tokun1=$
|
49
|
+
$tokun1=$〇['〇'];
|
76
50
|
|
77
|
-
$kon1=$
|
51
|
+
$kon1=$〇['〇'];
|
78
52
|
|
79
|
-
$touroku1=$
|
53
|
+
$touroku1=$〇['touroku'];
|
80
54
|
|
81
|
-
$codo1=$
|
55
|
+
$codo1=$〇['codo'];
|
82
56
|
|
83
|
-
$name1=$
|
57
|
+
$name1=$〇['name'];
|
84
58
|
|
85
|
-
$mail1=$
|
59
|
+
$mail1=$〇['〇'];
|
86
60
|
|
87
|
-
$tel1=$
|
61
|
+
$tel1=$〇['〇'];
|
88
62
|
|
89
|
-
$yobi1=$
|
63
|
+
$yobi1=$〇['yobi'];
|
90
64
|
|
91
65
|
|
92
66
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
|
50
50
|
|
51
|
-
$sql = "SELECT * FROM
|
51
|
+
$sql = "SELECT * FROM 〇 WHERE" .$where;
|
52
52
|
|
53
53
|
|
54
54
|
|