select `date`,name,txts,length(txtb) as txtb,id,pid,img from complexsystem_comas_p_articles where pid='15' order by `date` limit 0, 35
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