user9740150
user9740150

Reputation:

Get data from MySQL and shows as clickable URL

I am trying Get data from MySQL and shows as clickable URL but not works on my side.

<span>Company URL: </span> <?php echo $row1['url']; ?>

Upvotes: 0

Views: 51

Answers (1)

Terlan Abdullayev
Terlan Abdullayev

Reputation: 337

You must do like that

<span>Company URL: </span> 
<a href="<?php echo $row1['url']; ?>"> 
   <?php echo $row1['url']; ?> 
</a>

Upvotes: 3

Related Questions