ช่วง 2:13:33 กดsave ไป มันขึ้น Warring: undefined array key "cart" Fatal error:uncaught type error count() argument #1 ($value) must be of type countable array null given ผมผิดพลาดตรงไหนครับ รบกวนด้วย
@@siamsoft-co ผิดเหมือนกันครับ มันขึ้นเเบบนี้ Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\shoppingcart\config.php on line 12 Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\shoppingcart\config.php on line 12 connection failed
ช่วง 1:29:24 ทำแล้ว ไม่มีอะไรขึ้นเตือนเลย ไม่รุ้ว่าผิดตรงไหน มันบอกว่า Uncaught TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result, bool given in C:\xampp\htdocs\shoppingcart\index.php:12 Stack trace: #0 C:\xampp\htdocs\shoppingcart\index.php(12): mysqli_num_rows(false) #1 {main} thrown in C:\xampp\htdocs\shoppingcart\index.php on line 12