Notice: Undefined index: type in D:\xampp\htdocs\bangkoksteel\assets\self\php\flatsteel_process_img.php on line 5

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in D:\xampp\htdocs\bangkoksteel\assets\self\php\flatsteel_process_img.php:10 Stack trace: #0 {main} thrown in D:\xampp\htdocs\bangkoksteel\assets\self\php\flatsteel_process_img.php on line 10