this is where i get them to Redirect so i need this to show either demo or website link
<?php
if (isset($_GET['url'])) {
$url = ($_GET['url']);
$sql = "SELECT * FROM links WHERE id='$url' AND approved='1' LIMIT 1";
$result = mysqli_query($link, $sql);
if( $result )
while($userz = mysqli_fetch_assoc($result)) {
?>
<strong>You are being redirected to an external site.</strong>
You will be redirected to <?php echo $userz['name']; ?>
You are going to <?php echo $userz['Website']; ?>
like to show demo here also but when only demo is clicked <?php echo $userz['demo']; ?>
in <a id="timer">30</a> Seconds
<strong>Please note that <?php echo $row['title']; ?> is not responsible for the content of the external site.</strong>
</tr>
</table>
</div>
</div>
</div>
<?php } } ?>
It’s also easy for you to get hacked using old school code.
The easy way isn’t always best.
Take the advice of @rpkamp
At the risk of going further off-topic, your HTML is bit old school too with center tags and tables plus the structure is invalid.
Time to update your skills.