I want to generate links with the results of a database search. How to do this? In this case, I want to generate the link in the $ numped result.
//loop
while($linha=$sql->fetch(PDO::FETCH_ASSOC)){
//pegando o dado dos campos...
$numped = $linha["numped"];
$data = $linha["data"];
$vencto = $linha["vencto"];
$status = $linha["desc_status"];
//montando a table...
echo '<tr>';
echo '<td>' . $numped . '</td>';
echo '<td>' . $data . '</td>';
echo '<td>' . $vencto . '</td>';
echo '<td>' . $status . '</td>';
echo '</tr>';
}