質問編集履歴
1
不要コードの削除
test
CHANGED
File without changes
|
test
CHANGED
@@ -298,22 +298,12 @@
|
|
298
298
|
|
299
299
|
}
|
300
300
|
|
301
|
-
|
301
|
+
|
302
302
|
|
303
303
|
session_start();
|
304
304
|
|
305
305
|
|
306
306
|
|
307
|
-
// if(empty($_SESSION['cart'])){
|
308
|
-
|
309
|
-
// $_SESSION['cart'] = array();
|
310
|
-
|
311
|
-
// }
|
312
|
-
|
313
|
-
// array_push($_SESSION['cart'], $itemName, $row['image'], $row['price'], $row['description']);
|
314
|
-
|
315
|
-
// session_destroy();
|
316
|
-
|
317
307
|
?>
|
318
308
|
|
319
309
|
|
@@ -478,7 +468,7 @@
|
|
478
468
|
|
479
469
|
}
|
480
470
|
|
481
|
-
|
471
|
+
|
482
472
|
|
483
473
|
session_start();
|
484
474
|
|
@@ -510,7 +500,7 @@
|
|
510
500
|
|
511
501
|
|
512
502
|
|
513
|
-
|
503
|
+
|
514
504
|
|
515
505
|
|
516
506
|
|
@@ -528,8 +518,6 @@
|
|
528
518
|
|
529
519
|
|
530
520
|
|
531
|
-
// session_destroy();
|
532
|
-
|
533
521
|
|
534
522
|
|
535
523
|
?>
|
@@ -594,11 +582,7 @@
|
|
594
582
|
|
595
583
|
<div class="table-image">
|
596
584
|
|
597
|
-
|
585
|
+
|
598
|
-
|
599
|
-
<input type="hidden" name="post-image" value="">
|
600
|
-
|
601
|
-
</form> -->
|
602
586
|
|
603
587
|
<img src="<?=htmlspecialchars($row['image'])?>" class="cart-image">
|
604
588
|
|