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 8474887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:44:46+00:00 2026-06-10T17:44:46+00:00

I’m actually using the jQuery fullCalendar for a booking system and I’m looking for

  • 0

I’m actually using the jQuery fullCalendar for a booking system and I’m looking for a way to show some miscellaneous informations into each day frame from a date (basically the current date) to another date (the last day of the current calendar view).

To be more clear, my calendar displays every day of a month and I would like to get some informations from the MySQL database through an Ajax query, like number of free slots for the next coming days etc…

Example:

From the 27-08-2012 (today), MySQL would return from an Ajax query, the number of free slots for every day from today to the last day of the current view and this for the weekly view only. The data should be updated when the week is changed.

For information, the returned data from the Ajax Call may be pliants.

Any help or idea would be greatly appreciated.

  • 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-06-10T17:44:48+00:00Added an answer on June 10, 2026 at 5:44 pm

    I finally Managed to resolve this problem. It’s probably not the best solution but it works…

    First i’m using 2 events sources for the calendar :

    eventSources: [
            "events_list.php",
            "free_slots.php"
        ]
    

    Both of them return events with a different css attribute. EventType for the first one, EventInfo for the second one. I know I could have used the same file but for some reasons it wasn’t possible…

    So, the first one retrieves every events from a SQL query. The 2nd one uses the 2 variables used by the jQuery fullCalendar plugin :

    $_GET['start'];
    $_GET['end'];
    

    Then i just have to do some calculations to retrieve all events between these two dates and the number of available slots for each…

    The server-side script returns a JSON Array with the “className” option… (+the number of free slots if needed (depends on the .php file used))

    $Arrayz[] = array('className' => 'EventInfo'); echo json_encode($Arrayz);
    

    So the free slots for each event are displayed like events, but they are not really.. (No background color, no border, etc…)

    After that, I can also use another function of the fullCalendar plugin to allows users to interact with the real events…

    eventClick: function(event) {
       if(event.className == 'EventType'){ etc...
    

    The possibilities are infinite…

    Hope it will help.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
I am reading a book about Javascript and jQuery and using one of the
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into

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.