Well, I need every line tr
of my table to be a link to when the person clicks redirects to the related page.
I tried to do this:
while($linha = mysql_fetch_array($query))
{
$timestamp = strtotime($linha['DAT_ULTIM_ATUAL']);
$data = date('d/m/Y H:i', $timestamp);
$titulo = $linha['TXT_TITUL_PUBLI'];
$cdPublic = $linha['COD_IDENT_PUBLI'];
echo "<a href='noticias.php?jr=$cdPublic'><tr>";
echo "<td>$linha[TXT_TITUL_PUBLI]</td>";
echo "<td>$linha[TXT_RESMO_PUBLI]</td>";
echo "<td>$data</td>";
echo "</tr></a>";
}
But you're not linking, how do you do?