Parsing array data

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2010-04-25T13:00:24Z Indexed on 2010/04/25 13:03 UTC
Read the original article Hit count: 172

Filed under:
|
|
|

I am trying to parse this array data that way generated from JQuery and JSON.

Array

( [d] => Array ( [0] => Array ( [order] => 1 )

        [1] => Array
            (
                [order] => 2
            )

        [2] => Array
            (
                [order] => 3
            )

        [3] => Array
            (
                [order] => 4
            )

        [4] => Array
            (
                [order] => 5
            )

    )

)

I am trying to save the above date into a mysql table, but cannot seem to parse the data properly to be inserted into the database.

Can anyone help?

© Stack Overflow or respective owner

Related posts about php

Related posts about jQuery