Общая ошибка

SQL ERROR [ mysqli ]

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 'order by sale_id' at line 1 [1064]

SQL

select * from market_sales where user_session LIKE "2abb9a298a4e361906ef2cd2d50901aa+1731101975" and sale_status in (1,2,3,4) and shop_id = order by sale_id

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 167
CALL: dbal->sql_error()

FILE: var/www/vhosts/detkino.ru/httpdocs/market/includes/shop18_pub.php
LINE: 421
CALL: dbal_mysqli->sql_query()

FILE: var/www/vhosts/detkino.ru/httpdocs/market/sales.php
LINE: 17
CALL: ShopDetkino->sale_view()

Уведомите администратора конференции или вебмастера: help@detkino.ru