和编码有关.
查看你的数据库的编码.统一一下.举例说明一下@!
mysql_query("set names 'utf8'");
$bb = iconv('gb2312', 'utf-8', $bb);