$sql5 = "select id,name,type,size,location,hremail from company";
$result5 = mysql_query($sql5);
while($row5 = mysql_fetch_array($result5))

$companyA[] = $row5;

$jsoncompany = json_encode($companyA);
echo $jsoncompany;
结果 多了 一列
应该是索引列
怎么办 我不想要这一列!