Warning: Undefined array key "id" in C:\xampp\htdocs\shop\shop-list.php on line 17

Warning: Undefined array key "ty" in C:\xampp\htdocs\shop\shop-list.php on line 19

Warning: Undefined array key "r1" in C:\xampp\htdocs\shop\shop-list.php on line 20

Warning: Undefined array key "r2" in C:\xampp\htdocs\shop\shop-list.php on line 21

Warning: Undefined array key "sort" in C:\xampp\htdocs\shop\shop-list.php on line 22

Warning: Undefined array key "x1" in C:\xampp\htdocs\shop\shop-list.php on line 23

Warning: Undefined array key "x2" in C:\xampp\htdocs\shop\shop-list.php on line 24

Warning: Undefined array key "seek" in C:\xampp\htdocs\shop\shop-list.php on line 25

Warning: Undefined array key "per" in C:\xampp\htdocs\shop\shop-list.php on line 26

Warning: Undefined array key "page" in C:\xampp\htdocs\shop\shop-list.php on line 27

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and x2= order by id desc' at line 1 in C:\xampp\htdocs\shop\shop-list.php:126 Stack trace: #0 C:\xampp\htdocs\shop\shop-list.php(126): PDO->query('select * from u...') #1 {main} thrown in C:\xampp\htdocs\shop\shop-list.php on line 126