View Full Version : Events dates!!

05-03-2006, 12:48 PM
Hi!!! I have next code:

PHP Code:

<? $id = "month(now())";
if($arrl["periodo"] == 0) //se for s um dia
echo $arrl["day"]." de ".trata_month($arrl["month"]);
elseif($arrl["periodo"] != 0)// periodo de tempo no mesmo ms
echo $arrl["day"]." a ".($arrl["day"] + $arrl["periodo"])." de ".trata_month($arrl["month"]);

and to 3 more echos...

1 an expression with separated several days of two months. Example: 25, 26 of April and 2 of May

2 an expression with periodic time of two months. Example: 25 a 30 of April and 4 a 7 of May

3 an expression if a event had the 26 of April a 7 of May and if the current month is May it must show " Even 7 of May"

05-03-2006, 02:40 PM
what exactly are you asking for?

05-03-2006, 04:34 PM
How to do the expressions that I refer for beyond the php code!!! Sorry!!!