$gboog=mysql_query("select count(distinct a.id)+count(distinct b.id) from aaaa a,bbbb b");
$algnum=mysql_fetch_array($gboog); //统计求购、转让信息总数