CakePHP has builtin functions in it's HTML Helper class to easily generate dropdown lists for date selection: dayOptionTag(), monthOptionTag(), yearOptionTag() and finally dateTimeOptionTag(). The latter is very handy for quickly constructing registration pages. By default the starting year for this…
Utolsó kommentek