To make the link open in a new window you would change this line
<a href="<?php echo $rows['url']; ?>"><?php echo $rows['url']; ?></a>
to this
<a target="_blank" href="<?php echo $rows['url']; ?>"><?php echo $rows['url']; ?></a>
I added "target="_blank"
Also don't forget to mark the thread resolved!