我正在研究php日历。
我已编写代码
include_once('calendar/tc_calendar.php');
$curr_date = date("Y-m-d", time());
$datepicker2=plugins_url('calendar/', __FILE__);
$myCalendar = new tc_calendar("date1");
$myCalendar->setIcon($datepicker2."images/iconCalendar.gif");
$myCalendar->setDate(date("d"), date("m"), date("Y"));
$myCalendar->setPath($datepicker2);
$myCalendar->setYearInterval(2035,date('Y'));
$myCalendar->dateAllow($curr_date, "2035-03-01", false);
$myCalendar->setOnChange("myChanged()");
$myCalendar->writeScript();
但是当我运行代码时,它显示的是“ 404错误”而不是“日历”。请帮助我