質問編集履歴

1

「funcitons」→「functions」

2023/04/05 16:56

投稿

origa3
origa3

スコア22

test CHANGED
File without changes
test CHANGED
@@ -20,7 +20,7 @@
20
20
  ```php
21
21
  <?php
22
22
  /* index.php */
23
- require '/home/public_html/example.com/funcitons.php';
23
+ require '/home/public_html/example.com/functions.php';
24
24
  $res = get_comments();
25
25
  $comment_arr_init = $res['comment_arr'];
26
26
  ?>
@@ -121,7 +121,7 @@
121
121
  ```php
122
122
  <?php
123
123
  /* ajax.php */
124
- require '/home/public_html/example.com/funcitons.php';
124
+ require '/home/public_html/example.com/functions.php';
125
125
  $ajax_func = filter_input(INPUT_POST, 'ajax_func');
126
126
  echo my_json_encode($ajax_func());
127
127
  ```