first, i get the table value with jquery plugin name is tableToJson. and the type is json object. then i converting the json object with JSON.stringify. and the result show like this:
Array
(
[0] => stdClass Object
(
[Kode] => 450
[Nama Menu] => ES JAHE/null
[Sat] => TKO
[Qty] => 1
[Harga] => 25000
[Jml Harga] => 25000
)
[1] => stdClass Object
(
[Kode] => 310
[Nama Menu] => NASI/null
[Sat] => CTG
[Qty] => 2
[Harga] => 20000
[Jml Harga] => 40000
)
)
but i want the result is :
Array
(
[0](
[Kode] => 450
[Menu] => ES JAHE/null
[Sat] => TKO
[Qty] => 1
[Harga] => 25000
[price] => 25000
)
[1](
[Kode] => 310
[Menu] => NASI/null
[Sat] => CTG
[Qty] => 2
[Harga] => 20000
[price] => 40000
)
)
how i'm get the result like that with data type is array without stdclass object.