質問編集履歴

1

read.phpにアクセスした際に受け取れるデータを追記

2021/03/02 21:46

投稿

NodeTECH.
NodeTECH.

スコア0

test CHANGED
File without changes
test CHANGED
@@ -178,7 +178,13 @@
178
178
 
179
179
  ```
180
180
 
181
-
181
+ 以下がread.phpにアクセスした際に受け取れるデータです。
182
+
183
+ ```
184
+
185
+ [{"id":"1","date":"2021-03-01 08:32:22","message":"\u304a\u3064\u3067\u30fc\u3059\uff01","uid":"1","user":{"uid":"1","name":"\u4f50\u85e4 \u8003\u592a"}},{"id":"2","date":"2021-03-01 08:32:22","message":"\u4f5c\u696d\u7d42\u308f\u3063\u305f\u30fc\uff1f","uid":"1","user":{"uid":"1","name":"\u4f50\u85e4 \u8003\u592a"}},{"id":"3","date":"2021-03-01 08:32:48","message":"\u304a\u3064\u3067\u30fc\u3059\uff01","uid":"2","user":{"uid":"2","name":"\u68ee\u4e95 \u5c07\u88d5"}},{"id":"4","date":"2021-03-01 08:32:48","message":"\u7d42\u308f\u3063\u3066\u307e\u30fc\u3059","uid":"2","user":{"uid":"2","name":"\u68ee\u4e95 \u5c07\u88d5"}},{"id":"5","date":"2021-03-02 07:30:39","message":"aaaaaaaaa","uid":"1","user":{"uid":"1","name":"\u4f50\u85e4 \u8003\u592a"}}]
186
+
187
+ ```
182
188
 
183
189
  #####また、以下のコードでも実行してみたのですが、エラーが出ました。
184
190