0

This is my string format

[["1258765200","12350"],["1259370000","13000"],["1259974800","11840"]]

and i want array like

array(
[0] => array([0] => 1258765200, [1] => 12350)
.... 
and so on....
)

I don't have any idea how i can achieve this, Please help me, thanks in advance.

2 Answers 2

4

Convert your string into a PHP multi dimensional array using json_decode($str, TRUE).

Sign up to request clarification or add additional context in comments.

Comments

3

Use this: json_decode($string, true)

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.