Retrieving URL from MySQL database

You need to give your anchor tag’s href property some value.

<a href="https://stackoverflow.com/questions/35997885/<?php echo $results["Website'] ?>"><?php echo $results[ 'Website']?></a>

As it is now, the href property is empty, which some browsers will interpret as pointing to your current page. This is what’s causing your page to reload.

Leave a Comment