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 'and mii.languages_id='8'
order by RAND() LIMIT 0, 1' at line 4
select *
from main_images mi
left join main_images_info mii on mi.main_images_id=mii.main_images_id
where mi.season_id= and mii.languages_id='8'
order by RAND() LIMIT 0, 1
[TEP STOP]
| | | |