質問編集履歴

3

追記

2019/05/03 03:14

投稿

toll_tree
toll_tree

スコア199

test CHANGED
File without changes
test CHANGED
@@ -283,3 +283,7 @@
283
283
  $item_listの中身は以下になります。
284
284
 
285
285
  「array(4) { [0]=> array(2) { ["item_id"]=> int(13) ["amount"]=> int(22) } [1]=> array(2) { ["item_id"]=> int(15) ["amount"]=> int(2) } [2]=> array(2) { ["item_id"]=> int(17) ["amount"]=> int(1) } [3]=> array(2) { ["item_id"]=> int(14) ["amount"]=> int(2) } }」
286
+
287
+ $item_info_listをvar_exportした結果は以下の画像になります。
288
+
289
+ array ( 0 => array ( 'name' => 'テスト', 'price' => 100, 'img' => './images/f0ab631298df0117d17f6c91955a0be7129de339.jpg', ), 1 => array ( 'name' => 'test111', 'price' => 1000, 'img' => './images/4a60837fe9c460ed404f490ca86a61d7c936613b.jpg', ), 2 => array ( 'name' => 't-shirt2', 'price' => 1000, 'img' => './images/cccacab372172c1f63c1351d95df9e792fdd4002.jpg', ), 3 => array ( 'name' => 'test', 'price' => 1000, 'img' => './images/a482e68f5a960d0a2c47b8819a178b8b4f21c87c.jpg', ), )

2

追記

2019/05/03 03:14

投稿

toll_tree
toll_tree

スコア199

test CHANGED
File without changes
test CHANGED
@@ -277,3 +277,9 @@
277
277
  このような現象が起こっている原因が分からないため、ご助言頂きたいです。
278
278
 
279
279
  よろしくお願いします
280
+
281
+ 追記です。
282
+
283
+ $item_listの中身は以下になります。
284
+
285
+ 「array(4) { [0]=> array(2) { ["item_id"]=> int(13) ["amount"]=> int(22) } [1]=> array(2) { ["item_id"]=> int(15) ["amount"]=> int(2) } [2]=> array(2) { ["item_id"]=> int(17) ["amount"]=> int(1) } [3]=> array(2) { ["item_id"]=> int(14) ["amount"]=> int(2) } }」

1

誤字修正

2019/05/03 02:31

投稿

toll_tree
toll_tree

スコア199

test CHANGED
File without changes
test CHANGED
@@ -274,6 +274,6 @@
274
274
 
275
275
  まだ、下にも画像は続きますが、上記画像のように同じ画像、名前、値段の情報を格納した、データが繰り返し表示されてしまっています。
276
276
 
277
- このような現象が起こっている原因が分からないため、ご助言頂けましら幸いです。
277
+ このような現象が起こっている原因が分からないため、ご助言頂たいです。
278
278
 
279
279
  よろしくお願いします