DB_NAME mypetquery SELECT count(*) FROM guest_bbs WHERE bbs_id=142 AND th_id=; GROUP BY th_id/p.php at 38