how can i do this... |
[eluser]flyenig[/eluser]
I have a form where my users can enter their profile information. In the form, there is a Textarea where users can enter their website or websites. here is the code to display the users website or websites. Code: <?php echo '<a target="_blank" href="http://'.$website.'">'.$website;.'</a>';?> Lets say in the textarea where they edit their website they enter Code: facebook.com/blahblah it will display perfectly "facebook.com/blahblah" But if they enter Code: facebook.com/blahblah if will display facebook.com/blahblahtest.com/thisisme how can i separate these links? Thank you!
|
Welcome Guest, Not a member yet? Register Sign In |