SQL Error
Array
(
[0] => 42000
[1] => 1064
[2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
)
SQL Error
Array
(
[0] => 42000
[1] => 1064
[2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND `id` != ORDER BY RAND() LIMIT 2' at line 1
)
Database error: SQL Error: SELECT retailPrice FROM price WHERE item = ORDER BY `id` DESC LIMIT 1
MySQL Error: 1064 (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY `id` DESC LIMIT 1' at line 1)
Session halted.