2
How do I check if the link is already correct(ex: https://stackoverflow.com). My application takes text from a database, and there it can be written this way: "stackoverflow.com".
How to make the code know if it already has, and if it doesn’t have to add to the text?
I am displaying the link this way, and never forwards right if you are not with "https://"
$row = mysqli_fetch_array($resultado)
echo "<a href=' " . $row['link'] . " '><span style='padding: 3%'>" . $row['link'] . "</span>";