# Convert to clickable hyperlink when the user type a url

**URL:** <https://forum.kirupa.com/t/convert-to-clickable-hyperlink-when-the-user-type-a-url/269253>\
**Category:** programming\
**Created:** [August 25, 2008, 11:50am UTC](https://forum.kirupa.com/t/convert-to-clickable-hyperlink-when-the-user-type-a-url/269253 "2008-08-25T11:50:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hariku](https://avatars.discourse-cdn.com/v4/letter/h/a698b9/32.png) [@hariku](https://forum.kirupa.com/u/hariku)\
**Post date:** [August 25, 2008, 11:50am UTC](https://forum.kirupa.com/t/convert-to-clickable-hyperlink-when-the-user-type-a-url/269253/1 "2008-08-25T11:50:07Z")

</div>

If a user type a url in the text field, it should be displayed in the output webpage as clickable hyperlink. How to do it in a php form?

i want to make a guestbook… and have to allow the visitors to add links in their comments…
