回答編集履歴
3
追記
test
CHANGED
@@ -53,3 +53,5 @@
|
|
53
53
|
![イメージ説明](08ad32bd79fd7548fc0a44ec900548f0.png)
|
54
54
|
|
55
55
|
|
56
|
+
|
57
|
+
出血大サービスで、[実行結果](http://teratail.jlamp.net/)
|
2
追記
test
CHANGED
@@ -39,3 +39,17 @@
|
|
39
39
|
<form method="GET">
|
40
40
|
|
41
41
|
```
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
---
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
[(XML版)ホットペッパーAPIからレストラン検索するサンプル](http://qiita.com/ShibuyaKosuke/items/452928e235d4b1d10475)
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
![イメージ説明](08ad32bd79fd7548fc0a44ec900548f0.png)
|
54
|
+
|
55
|
+
|
1
修正
test
CHANGED
@@ -9,3 +9,33 @@
|
|
9
9
|
error_reporting(E_ALL);
|
10
10
|
|
11
11
|
```
|
12
|
+
|
13
|
+
---
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
```php
|
18
|
+
|
19
|
+
$budget=$_POST["budget"];
|
20
|
+
|
21
|
+
```
|
22
|
+
|
23
|
+
↓
|
24
|
+
|
25
|
+
```php
|
26
|
+
|
27
|
+
$budget=$_GET["budget"];
|
28
|
+
|
29
|
+
```
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
`form` で `GET` を指定しているんだから、 `$_GET` だろ。
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
```html
|
38
|
+
|
39
|
+
<form method="GET">
|
40
|
+
|
41
|
+
```
|