select wr_id,wr_subject,wr_image,wr_summary,wr_content,wr_datetime from g5_write_news where wr_is_comment = 0 and ca_name = 'photo' and wr_is_regist = 1 order by wr_regist_date desc limit

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 '' at line 1

error file : /bbs/board.php

caller file : /jasonlee2020/www/theme/text04/mobile/skin/board/news/photo.skin.php:12