in my site there is option for users to post comments. when they add a hyperlink like

<a href="www.web.com" target="_blank">link</a>

it is stored in db. when i retrive it the link is like this

www.mywebname.com/www.web.com

any solution for this?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.