Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • data type of battle_log ? Commented Apr 13, 2016 at 10:16
  • Data type should be TEXT for 'battle_log' in your table and I think you should try json_encode($battle_log, true) Commented Apr 13, 2016 at 10:18
  • Yeah, it's TEXT in my DB. Commented Apr 13, 2016 at 10:20
  • @hmd what is json_encode($battle_log, true) ? Documentation mentions the 'true' option for json_decode only Commented Apr 13, 2016 at 10:22