I can't see why the name is clickable on your detail page, but in regard to the review not showing i think you need to use the practice id to filter the review. so line 44-46 should be:
if (isset($row_rsPracticeInfo['practicid'])) {
$colname_rsReviews = (get_magic_quotes_gpc()) ? $row_rsPracticeInfo['practicid'] : addslashes($row_rsPracticeInfo['practicid']);
}
You could see i used 'practicid', but if the column in the practicelist table is name differently, make sure to rename it to the correct column name.