search

Home  >  Q&A  >  body text

php json_encode function encrypts a two-dimensional array and returns false!!!!!????

php json_encode function encrypts a two-dimensional array, returns false!!!!!???? Why is this, please give me some advice

..........2304 days ago1529

reply all(3)I'll reply

  • ringa_lee

    ringa_lee2018-08-04 09:40:31

    Send me your array format and see

    reply
    0
  • Summer

    Summer2018-08-03 18:24:19

    json_encode is to convert json data into an array

    reply
    0
  • ringa_lee

    You said the opposite, json_decode is the conversion of json format to object or array, json_encode is the opposite.

    ringa_lee · 2018-08-04 09:41:21
  • Cancelreply