SQL Error: select id,body,options from ***_enewstiku where sourceid='31219' and id < 2506504 and id<>'2506504' order by id desc limit 5 SQL Error: select id,body,options from ***_enewstiku where sourceid='31219' and id > 2506504 and id<>'2506504' order by id asc limit 5