PHP serialized / not serialized array to serialize JavaScript Array

Discussion in 'PHP' started by bartolay13, Mar 8, 2010.

  1. #1
    The title explains what i need..

    I need a function that serializes php arrays BUT is compatible with the serialization of JavaScript.
    Thank you.
     
    bartolay13, Mar 8, 2010 IP
  2. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
  3. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #3
    does json_encode compatible with js unserialize?? how do you decode this on js?
    dont like doing custom serializing..
     
    bartolay13, Mar 8, 2010 IP
  4. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #4
    bartolay13, Mar 8, 2010 IP