$sql="select v.id,v.house_id,v.user_id,v.date,v.time,v.handle from ".tospur_view_house_table." v where consultant_id = ".$consultant_id." order by v.date desc";
$sql="select v.id,v.house_id,v.date,v.time,v.user_id,v.handle,h.name from ".tospur_view_house_table." v ".
"left join tospur_house h on v.house_id = h.id ".
"where v.consultant_id = ".$consultant_id." order by v.date desc";