-
Easier:
Code:
function trata_month($mes) {
$months = array("", "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro");
return $months[$mes];
}
And:
Code:
<p>
<?php for($i=-3;$i<2;$i++) { ?>
<a href="agend_desporto.php?modifier=<?php echo($i); ?>"><?php echo(trata_month($arrl["month"]+$i)); ?></a><br />
<?php } ?>
</p>
-
I continue to have the same problems:
Example:
Load Page shows
Fevereiro
Março
Abril
Maio
Junho
When I press Maio shows:
Fevereiro
Março
Abril
Maio
Junho
When I press Junho :
Janeiro
Sometimes when I click a month, it not corresponds
-
Could you link to the page? And its source?
-
-
Then will you please do so? :)
-
Sorry but it's local and can´t link. Can I send the script to you??
-
Post it here, as an attachment.
-
1 Attachment(s)
Attachment 332
change extension to php to see better!!
-
Since I'm missing dados.php, functions.php and your database, that's a bit tricky.
How about those two files? And perhaps a mysqldump of that database?
-
2 Attachment(s)
Attachment 333
Attachment 334
I canīt give you dados.php but it only have DEFINES of mysql_connect