Results 1 to 3 of 3

Thread: PHP/MySQL Calender

  1. #1
    Join Date
    Mar 2009

    Unhappy PHP/MySQL Calender

    hi all, i m developing a web application having an option for users to place products

    while placing an order user selects Order Date and Due Date. now we want to restrict orders not to be created on some special dates (e.g weekly and national holidays)

    for example: while creating an order user must select due date not to be on a holiday.

    holidays will come from a MySQL table with title date and description.

    any ideas

  2. #2
    Join Date
    May 2004
    chennai, tamil nadu, India
    Maybe store the special dates in a Mysql table or array and then compare the order date/due date to be NOT in that particular array.
    Chris, Senior Developer,
    Php laravel developers,

  3. #3
    Join Date
    Mar 2009
    simple and a nice idea. but the requirement may be like and event.
    for example: an event starts from a date and ends on another date so how can i check a date to be in those 2 dates. and keeping in mind there will be multiple events/or holidays.

    i think the solution is very simple but i m not getting the hint actually.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center