Codice PHP:
<?php if (($row_ses['tipo_attestato'] == "Base") || ($row_ses['tipo_attestato'] == "Excellence Base")) { ?>
[url="../file_corsi/corso_base.exe"]<span class="testo_nero_bold">corso_base.exe</span>[/url]
<?php } ?>
<?php if ($row_ses['tipo_attestato'] == "Excellence Base") { ?>
[url="../file_corsi/corso_base_excellence.exe"]<span class="testo_nero_bold">corso_base_excellence.exe</span>[/url]
<?php } ?>
Se anche così non funziona, posta il risultato di questo codice:
Codice PHP:
<?php var_dump($row_ses['tipo_attestato']); ?>