I have made a comment system for my website. Although the system works fine I have found an issue.
When a user submits a comment, they can add a url to their website.
In the posted comments, the name of the user is set up to be a link to the url field in the database.
The problem is if the user does not submit a url with their comment the link still appears and links to a blank page.
How to I make it so the name field only has a link is a link is submitted with a comment
Thanks in advance