1
SELECT p.*, t.post_text FROM xoops_newbb_postsp, xoops_newbb_posts_text t WHERE p.topic_id=2 ANDp.post_id = t.post_id ORDER BY p.post_id ASC LIMIT 0, 10
Error number: 1064
Error message: 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 'ANDp.post_id = t.post_id ORDER BY p.post_id ASC LIMIT 0, 10' at
how can i solve them?
Thanks