回答編集履歴
1
PHPマニュアルへのリンクを追加
answer
CHANGED
|
@@ -5,5 +5,7 @@
|
|
|
5
5
|
```php
|
|
6
6
|
header("Location: home3.php?page_draw=$page_draw");
|
|
7
7
|
```
|
|
8
|
+
参考:[PHP: 文字列 - Manual](https://www.php.net/manual/ja/language.types.string.php#language.types.string.syntax.double)
|
|
9
|
+
|
|
8
10
|
なお、`$page_draw`にurlに不向きな文字列が含まれている場合には、
|
|
9
11
|
[urlencode](https://www.php.net/manual/ja/function.urlencode.php)が必要になるかもしれません。
|