href in custom profile single page
i want to create custom single page for displaying some of our member profile. i copy and paste [concretecore]/profile/view.php to /single_pages/profile/view.php
i have custom text attributes for user, it's a web address of their social media. of course as a plain text.
so, in profile view.php, i call those attributes, and put it in href
<a href='<?php echo $website; ?>'>...</a>
let say $website is my custom attributes. and it's only contain plain text:
if i call
<?php echo $website; ?>
it sure only give me
but, in href, it'll be
how do i fix this?
or hard-code http section like this:
<a href='<?php echo "http://".$website; ?>'>...</a>