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 catid= ) ORDER BY a.id desc LIMIT 1' at line 1
[ SQL语句 ] : SELECT `title`,`url` FROM `yourphp_content` `a`,`yourphp_article` `b` WHERE ( a.id< and catid= ) ORDER BY a.id desc LIMIT 1