javascript/ajax、php 和 mysql 中的日历?
我需要创建一个日历,允许人们查看约会并编辑它们。我知道有很多东西我必须创建自己的,并且它必须是我自己的代码,所以像 jQuery 这样的东西都是不可能的。我研究过谷歌日历,虽然我不希望它像这样先进,但类似的东西应该做。
我有一个基本的想法如何做到这一点,但我不太知道如何获得该月中正确的天数等?我正在考虑 php 中的数组,我不知道 php date()
函数是否对我有帮助?
有没有人自己创建或有任何建议?
谢谢
I need to create a calendar which will allow people to view appointments and edit these. Am aware there are many out there put I have to create my own and it has to be my own code, so anything like jQuery is out of the question. I have studied Google Calendar and although I don't want it as advanced as this something similar should do.
I have a basic idea how to do it, but I don't quite know how to get the correct days in the month etc? I was thinking about an array in php, I don't know if the php date()
function would help me here?
Has anyone created there own or have any advice?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
PHP中有一个函数可以获取某个月的天数:
cal_days_in_month()
There is a function in PHP to get the number of days in a certain month:
cal_days_in_month()