Hello guys, im writing a calendar booking system and i want to populate a combobox where it will only show the time that has not been reserved based on the data inside database. The problem is, i'm using javascript to return the date when user clicked on the calendar and i want to pass the date to php mysql to check the time available on that date then only display it on a combo box. Basically, the flow is date (javascript) > check time based on date in database (php mysql) > display (html/javascript). I searched all articles on the internet and i found that i need to use ajax to do this, but i dont have any knowledge on ajax. Any help would be much much appreciated.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.