-1
I have a mistake:
Parse error: syntax error, Unexpected 'Medicavalidade'
Trabalhador (1) Validade:';
If (($exibe['MedicaValidade'] != 0000-00-00) && ((strtotime($exibe['MedicaValidade']) < time()))) {
echo '<span style="color:red">'.$exibe['MedicaValidade'].'</span>';
echo 'Anexo: <a href="MostrarMedica.php?id=' . $exibe['id'] . '">Ver PDF </a>'
} elseif ((strtotime($exibe['MedicaValidade']) >= time()) {
echo '.$exibe['MedicaValidade'].';
echo 'PDF: <a href="MostrarMedica.php?id=' . $exibe['id'] . '">Ver PDF </a>
}
have this error on the line of Elseif Parse error: syntax error, Unexpected '{' in
– ChrisAdler
@user3253195, ready, edited!
– user6026
What changed? Because now I have the same error on the line { echo $displays['Medicavalidade']; echo 'PDF: <a href="Showmedica.php? id=' . $displays['id'] . '">View PDF </a>'; }
– ChrisAdler
I made another edition improving, now check if it goes!
– user6026
I have the same error now on second { .. I was asking to try to correct.
– ChrisAdler
@user3253195 look again
– user6026