showflat

is this correct

$query = "
SELECT COUNT(*)
FROM {$config['tbprefix']}Posts
WHERE B_Main = '$current'
";

should $current be not included in '' ?