doubi9999 2010-11-14 04:07
浏览 211
已采纳

如何让用户选择日期/时间 - 仅限PHP?

I want a complete server side solution, so no JS, etc.

All that I can think of is three combo boxes for day/month/tear, but of course the user can then select an invalid day/month combination.

What's the best way to let use select a date when I am not allowed to use any client side code?

  • 写回答

5条回答 默认 最新

  • duanmo5724 2010-11-14 04:17
    关注

    Unless you want to list every possible valid date on the page, you'll have to accept that your interface allows the selection of invalid dates, and re-present it with error messages if one of them is chosen.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(4条)

报告相同问题?

悬赏问题

  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效
  • ¥15 悬赏!微信开发者工具报错,求帮改