Daily Dirt
Michael lives in Bloomington, Ill., and serves as CEO and videographer for DirtonDirt.com
Commant this out when going live
SQL Exception 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 'as b WHERE b._blog_category_id=bc._category_id AND b._status="published" ) as n' at line 1
Query=SELECT blog_id, blog_title, blog_published, blog_content, blog_category_title, blog_img, blog_img_desc, blog_img_width, (SELECT COUNT(blog_comment_id) FROM _comment WHERE b._id=_comment._comment_blog_id AND _comment._comment_status="approved" ) as num_of_comments,(SELECT COUNT(blog_category_id) FROM _category as bc, as b WHERE b._blog_category_id=bc._category_id AND b._status="published" ) as num_of_rows FROM _category as bc,blog as b WHERE b._blog_category_id=bc._category_id AND b._status="published" ORDER BY b._published DESC LIMIT -3,3