I have a form that submits and displays text. Entering http://www.twitter.com for example displays in clear text. How can i get it to automatically display as a clickable link?
I am working with MySQL and PHP.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You propably want your script to automatically detect links…I did that a few weeks ago on a script that pulls tweets from an RSS Feed…this is the code. You can replace $_POST[‘inputfield’] with the appropriate variable!
Hope that helps