Your addid = 123 อันใหม่Numitem = 3
Array
(
    [book] => Array
        (
            [214] => 1
            [184] => 1
            [123] => 1
        )

)
Im in this loop

ตะกร้าสินค้า



Query = select id,isbn,fullname,discountprice2 from book_overview where id in (214,184,123)
ลำดับ ISBN ชื่อหนังสือ ราคาต่อเล่ม (หักส่วนลดแล้ว) จำนวน (เล่ม) ราคารวม ลบ
1 978-616-7119-33-5  เจาะระบบ REGISTRY+SECURITY ไขความลับ Windows 7  210      210    
2 978-616-7897-22-6  หาเพื่อน หางาน ผ่าน LinkedIn  110      110    
3 978-616-7897-54-7  สูตรลับขายดีใน Facebook + Social  175      175    
รวมราคาสินค้า 495 บาท