Is href='example.php?id="<?= $row['id'] ?>"'
safe in the code below?
if not can you tell me why and how to make it secure?
<a class='btn btn-sm' href='example.php?id="<?= $row['id'] ?>"' role='button' data-toggle='modal' data-target='.bs-example-modal-lg'>View</a>
Edit:
Here's why the question above triggered in my head. I'm seeing the database ID just the way it is on the browser bottom on mouse hover!