Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $hoy = getdate();
- $mes = $hoy["mon"];
- $dia = $hoy["mday"];
- echo "Hoy estamos al ".$dia." de ".$mes."<br>";
- if( $mes == "1" ) {
- if( $dia == "1" ) {
- echo "Día de Año Nuevo";
- }
- if( $dia == "6" ) {
- echo "Los Reyes Magos";
- }
- }
- if( $mes == "5" ) {
- if( $dia == "6" ) {
- echo "Día de la madre";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment