回答編集履歴
1
見直し
test
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
index.html のファイル名を index.php に変えることで、
|
2
|
+
phpのコードとして実行されるようになります。
|
3
|
+
|
4
|
+
そのうえで、
|
1
5
|
phpファイルを読み込んで実行したいのであれば、
|
2
6
|
[PHP: require \- Manual](https://www.php.net/manual/ja/function.require.php)
|
3
7
|
[PHP: include \- Manual](https://www.php.net/manual/ja/function.include.php)
|