Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder nomanic's Avatar
    Join Date
    Feb 2009
    Location
    United Kingdom
    Posts
    256
    Thanks
    9
    Thanked 33 Times in 33 Posts

    submit an array to php

    hi

    say i have a variable

    var a={div:'hello',list:{me:'yes',h:[1,2,3,4]},vars:[1,2,3,4]};

    any ideas how i could pass that to php, store it, then retrieve it later?

    any thoughts anyone?

    many thanks

  • #2
    Regular Coder hdewantara's Avatar
    Join Date
    Aug 2009
    Location
    Jakarta, Indonesia.
    Posts
    425
    Thanks
    10
    Thanked 62 Times in 61 Posts
    Hi,
    If to be passed as an URL string,
    can't it be done with just escape() & unescape()?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •