-7
我有一個JSON對象作爲這樣類型如何插入JSON對象在數據庫
[{"productName":"ddsf","productPrice":234234,"quantity":23}][{"productName":"ddsf","productPrice":234234,"quantity":23}]Array
(
[0] => Array
(
[productName] => ddsf
[productPrice] => 234234
[quantity] => 23
)
)
如何插入在一個時間該對象陣列。我的數據庫式柱是ID,產品名稱,productprice,數量,所以想在一個時間多行插入
請嘗試自己並提出更具體的問題 –
提示:創建一個Product對象,使用您擁有的json對象設置其屬性,然後將其保存在數據庫中。 *花費一些努力研究*會告訴你如何做這些事情。 – Keale
你的標籤包括Java和PHP ...下調不清楚你在問什麼。 – Manu