-1
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 result $numped.
//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>';
}
						
Show what you’ve tried
– Victor Eyer
Is $numped a link? Shows an example of what it returns.
– Sam