Not sure if I follow, are you using an echo for this or is it in a HTML-context?
If in a html-context:
<a href="http://www.mysite.com/hit_counter2.php?LodgeID=<?= $row['LodgeID'] ?>" target="_blank"><?= $row['Lodge'] ?></a>
If in an echo-context:
The quotes in target="_blank" will probably have to be closed using \, put it before the quotes and it will work.