teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

記入漏れ

2018/01/18 23:11

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
  インクルード元(index.html)
21
21
  <?php
22
- include_once "http://localhost/test.php";
22
+ include_once "http://localhost/hoge/test.php";
23
23
 
24
24
  $test = testfunc();//①
25
25
  echo $test;

1

記入漏れ

2018/01/18 23:11

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -21,13 +21,14 @@
21
21
  <?php
22
22
  include_once "http://localhost/test.php";
23
23
 
24
- $test = testfunc();
24
+ $test = testfunc();//①
25
25
  echo $test;
26
26
  ?>
27
27
  ----------------------------------------
28
28
  インクルード先(test.php)
29
29
  <?php
30
- //$test = testfunc();
30
+ //$test = testfunc();//②
31
+ var_dump("TEST"); // ③
31
32
 
32
33
  function testfunc(){
33
34
  $result = "てすと";