Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'r.product_id' in 'where clause' in C:\xampp\htdocs\cashew_shop\product_details.php:57 Stack trace: #0 C:\xampp\htdocs\cashew_shop\product_details.php(57): PDOStatement->execute(Array) #1 {main} thrown in C:\xampp\htdocs\cashew_shop\product_details.php on line 57