|
http://codeigniter.org.cn/tutori ... ch_calendar_library
当月功能正常, SQL:SELECT `date`, `data` FROM (`calendar`) WHERE `date` LIKE '2015-01%'。
http://localhost/ci/mycal/display/
当:http://localhost/ci/mycal/display/2015/01时候prev_url为:http://localhost/ci/mycal/display/2015/2015/02
------------------
下个月/上个月 SQL:SELECT `date`, `data` FROM (`calendar`) WHERE `date` LIKE '2015-2015%',
http://localhost/ci/mycal/display/2015/2015/02
|
|