Journal of Photosciences

select wr_id, wr_subject from g4_write_journal where wr_is_comment = 0 and wr_num = '-104' and wr_reply < '' and ((INSTR(LOWER(wr_subject), LOWER('1O2')) or INSTR(LOWER(wr_1), LOWER('1O2')) or INSTR(LOWER(wr_subject), LOWER('1O2')) or INSTR(LOWER(wr_content), LOWER('1O2'))) (INSTR(LOWER(wr_subject), LOWER('reaction')) or INSTR(LOWER(wr_1), LOWER('reaction')) or INSTR(LOWER(wr_subject), LOWER('reaction')) or INSTR(LOWER(wr_content), LOWER('reaction'))) (INSTR(LOWER(wr_subject), LOWER('rate')) or INSTR(LOWER(wr_1), LOWER('rate')) or INSTR(LOWER(wr_subject), LOWER('rate')) or INSTR(LOWER(wr_content), LOWER('rate'))) (INSTR(LOWER(wr_subject), LOWER('constant')) or INSTR(LOWER(wr_1), LOWER('constant')) or INSTR(LOWER(wr_subject), LOWER('constant')) or INSTR(LOWER(wr_content), LOWER('constant'))) ) order by wr_num desc, wr_reply desc limit 1

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 '(INSTR(LOWER(wr_subject), LOWER('reaction')) or INSTR(LOWER(wr_

error file : /2010/bbs/board.php