How can I add a 'http://' component to a post variable so that it automatically adds that part so if someone submits: 'www.google.com' is will register as http://www.google.com. Heres the code I have so far:
$domain = '<a target="_blank" href="' .$_POST['domain'] . '">' . $_POST['domain'] .'</a>';
so where do I insert the 'http://'? I have tried a few variations with no success perhaps someone can enlighten me. Thank you.