Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7063187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:41:03+00:00 2026-05-28T04:41:03+00:00

I have an idea for a project that I am currently working on, I

  • 0

I have an idea for a project that I am currently working on, I am however struggling to find a way to implement this in PHP/MySQL.

I have a database with a list of activities that a tattoo parlour has, basically he works from 9 to 5 and when an event is added it is added to the database using date and time

| — DATE—– | TIME |
2012-11-02 —| 10:00:00

What I am trying to do is list all the times and dates within the tattooist timetable in the following week that does not already have events going on, this will also ensure the tattooist doesn’t double book too!

any assistance will help guys, any assistance will help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:41:04+00:00Added an answer on May 28, 2026 at 4:41 am

    The best way to create the application is to store each scheduled event into a database and “black out” dates that are already taken by the applications “events” table (per say)… You will probably want to do your event creation checks during the point that the event would be created or written to the mysql db…. You will probably want to have an events table with a start and end time for each event…. when you go to schedule an event (assuming user input dictates event time and date) just write a mysql query that selects the event where the DATE(a.lastevent) = DATE(NOW())… let me know if you have further questions

    Edit:

    I would build the front end of the application calendar style using a JavaScript interface. In the long run it will be much more user friendly and much easier to create, I’ve implemented them in a day.

    The framework I suggest using is ExtJS, there are many tutorials and extensions for calendars, I know that ExtJS 3 has a calendar built into it and you can view a tutorial on that here: http://www.sencha.com/learn/using-calendar

    Additionally, if you decide to use ExtJS4, you can use this plugin: https://github.com/bmoeskau/Extensible/downloads or this one http://www.sencha.com/forum/showthread.php?142488-Extjs-4-based-open-source-Calendar-application

    The second link is open source, the demo looks to be Spanish (it does what you need and more), but if you use Chrome you’ll get a bar at the top asking if you want the page translated, click yes, it does a great job. From there you can do find and replaces to get it to English.

    The ExtJS 3 tutorial will show you how to interface the calendar with a PHP page so that you can update your MySQL database via AJAX. It is much simpler than you might think, and you’ll save a ton of time trying to code it from scratch.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently working on a C++ project that needs to have as few external
I'm working rearchitecting a reporting/data warehouse type database. We currently have a table that
The idea behind this small project of mine is to have an user enter
I am currently working on a php project with the user of ajax. I
I am currently working on a project that is dealing with charts and tabs
I'm currently working on a project (that's almost done :D) but I've run into
I have a question related to a project I am currently working on. In
Currently I am working on a project that would use genetic algorithms to optimize
I have a project I'm currently working on, which I am contemplating making open
I am currently working on a project where I want to implement a bit

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.