I have a php script below
Please echo the values inside anchor tag as
<?php
include 'db_connector.php';
$result = mysqli_query($con, "SELECT operation FROM contract");
while ($row = mysqli_fetch_array($result)) {
echo "<a href='your url' >" . $row['operation'] . "</a>";
echo "<br>";
echo "<br>";
}
echo "<a href='whatever_your_url_is'>".$row['operation']."</a>";