I am trying to work on a fansite for a game, and i've ran into an issue. I have an html textarea, that a user can put in a bio of themselves, or an about me in other terms. I am wondering how if a user types in a link for example google.com how that can post to my database, and then appear as a clickable link that when clicked will take someone to whatever link is put in there. So if someone types google.com, it will lead to google.com when clicked. If someone puts in facebook.com, it will take them to facebook.com when clicked, etc.
So how can I make it so links are clickable without having to put in an a href? This is all I have so far, because I don't know where to go from here.
Textarea code:
<tr>
<td class="style7"><div align="right">Bio:</div></td>
<td><textarea name="bio" cols="42" rows="8" id="bio"><?php echo "$bio"; ?></textarea></td>
</tr>
Some php:
$bio = $_POST['bio'];
Post into database:
$sql = mysql_query("UPDATE members SET email='$email', password='$password', country='$country', bio='$bio' WHERE id='$id'");
Any help would be much appreciated!