$sql = "select fri_mobile from user_address where mobile=\"$reg_mobile\" and groupname="+choice;
是这条SQL语句有错误了,我把最后的 and groupname="+choice;去掉就对了,为什么?