Jump to content

JasonO

Members
  • Posts

    58
  • Joined

  • Last visited

    Never

Everything posted by JasonO

  1. Hi guys, I've got a problem trying to convert a string to a PHP array. I've been thinking of writing a function to do this, but not sure where to start. I thought about exploding the data out, but then I have a problem if there is an array within the array (which is quite common with the data I have). The format of the array is like so: ["test1","1234",500,500,"",4] Some arrays may be like this, with other arrays inside them: ["test1",[1,2,3,4],500,[5,262,"test2"],"",4] Is there any easy way to go about this? Thanks for your help. Regards, Jason
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.