How to build a simple calendar, timetable.

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
Crawlph
New php-forum User
New php-forum User
Posts: 2
Joined: Mon Mar 12, 2018 5:02 am

Sun Jun 17, 2018 7:26 am

Hi,

I am fresh in PHP. I would like to build a calendar. It should be a simple calendar when I can choose a day with a starting hour and ending hour. This information should be added to a database

It will be connected with MySQL. I can create a table and create a proper database for this solution.

Can you advise me an how can I start doing this?

I'd like to show this on my website by url. I want to create a login and password to use this page.

Regards,
Crawlph!

chorn
php-forum Fan User
php-forum Fan User
Posts: 559
Joined: Fri Apr 01, 2016 2:18 am

Tue Jun 19, 2018 12:02 am

If you want the calendar to be clickable, use some javascript, have a look at "jquery ui datepicker" for some input. You can also just build a list of dates with the DateInterval and DatePeriod classes from within PHP and provide clickable links in plain HTML.

Post Reply