Hi guys,
How do I get users to input their own website URL into my website so that they can easily be linked to my website. Below is the little code which I am failing to get users to input their own website url. I can use the code if I type in my own website before FTPing the account but that’s not what I am looking for:
[php]<?php
$input= “website is http://www.nameofsite.com”;
//the above works fine but i want it empty so users can input their own hyperlinked urls
$clickable = preg_replace(’(f|ht)tps?://[A-Za-z0-9./?=+&%]+’, ‘$0’, $input);
echo $clickable;
?>[/php]
Please help me with the following as I have been stuck for a while now. I am looking for something like the rough sketch below to add into users profile for my new website:
[code]Update your URL
Email:
Website: