2
I’d like to see if anyone can help me with this problem of creating an HTML table in php.
<?php
<p><b>Alvará: </b></p>
<p>Alvará Numero: '.$exibe["AlvaraNumero"].'</p>
<p>Alvará Validade:';
if ($exibe['AlvaraValidade']) {
if (strtotime($exibe['AlvaraValidade']) < time()) {
echo '<span style="color:red">'.$exibe['AlvaraValidade'].'</span>';
} else {
echo $exibe['AlvaraValidade'];
}
} else {
echo 'N/D';
}
echo '</p>
<p>Alvará Anexo: <a href="MostrarAlvara.php?id=' . $exibe['id'] . '">Ver PDF </a></p>
?>
I want to create a table to put this data more organized.
| Alvara | Numero | Validade | Anexo | Valor numero | Data | Ver PDF |
Can someone help me do something like this?
I don’t know if I can mark it as duplicate, but look at a recent and very similar subject: http://answall.com/questions/20745/createtabela-html-usando-php
– Daniel Omine