U
U
unlik2016-03-31 02:06:23
PHP
unlik, 2016-03-31 02:06:23

Block output depending on date?

There are several blocks of code.
Who knows how to display them depending on the days of the month? For example, if the days of the month are from 1 to 10, then we output block 1, if from 11 to 20, then block 2, and so on.
For every day, it is hemorrhagic to prescribe, I'm sure there is a solution unfamiliar to me.
Thanks in advance for the tip.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
ThunderCat, 2016-03-31
@ThunderCat

date and switch , then handles and head.
UPD: it 's simple and beautiful about the days, the truth about the days of the week, but I think you'll figure it out)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question