This was really helpful for my Events Registration project, thank you so much! I wanted to ask if you could make a video on how to add "register for events" using php and MySQL
I copied your whole code as you said but the website does not show any calendar, the popup dialog is displayed but there is no calendar at all, prob something with the CSS but I don't know how to solve
thank you for this helpful video. i have a question, is it possible to also set time for the event in this calendar where it will be displayed when we look at the display screen?
Great video. I have tried to make the calendar unique for each user by adding a column to the sql table and called it 'userame', and whenever I shell fetch data from the calendar table it uses the sql query with given username. However, if I use $_SESSION variables to determine logged in user, the calendar just disapperares.. is it a way to use / integrate session variables with javascript, or does it simply not work?
I have copied the code but when I try and select a day on the calendar the model will not appear? What part of the code calls the model to activate onclick?
I downloaded the source code on my PC and when I run the dynamic full calendar.html file it's not showing the calender it's only showing the and content please help sir😢 (it's connected to the internet also )
Thanks for the great video and source code. I have a problem. If an appointment has the beginning and the end in 2 consecutive weeks, that the appointment is displayed only in the first week. How can I change this?
calender is not displayed console message = Uncaught ReferenceError: response is not defined at Object.error (dynamic-full-calendar.html:156:10) at u (jquery.min.js:2:27457) at Object.fireWith [as rejectWith] (jquery.min.js:2:28202) at k (jquery.min.js:2:77676) at XMLHttpRequest. (jquery.min.js:2:79907)
@@Shinerweb Hello, thanks, but that wasn't the issue. The event_name, etc were not listed in the columns to display even if using the id number :) I figured it out though. I normally only do PHP so it took me a bit to see what was going on. Thanks again.
@brunoribeiro20ify hi there... I'm sorry but I can't really remember right now but it was likely a bit of a hack. On thinking back, I may have had to redirect to a php page carrying along the event id, then hitting db with that and returning to calendar to refresh. That was a while back, but I hope it helps;)
Thanks for your valuable comments! you can download source code from this link shinerweb.com/how-to-add-event-dynamically-in-fullcalendar-with-php-and-mysql-live-example/ please scroll down and at the end source code download link available. Thank you!
@@Shinerweb in eventRender: function() I try use ajax and send event.event_id, but these dosent work. Another try in the same function was use calendar.getEventById(event.event_id).remove() I found this in FullCalendar docs, but this dosent work too. eventRender: function(event, element, view) { element.bind('click', function() { alert("some alert"); if(confirm("confirmation")) { var id_del = event.event_id; $.ajax({ url: "delete.php", type: "POST", data: {id_del: id_del}, success: function() { alert("some success alert"); window.location.reload(); } }); } }); }
same problem, can you help me please ? (index):118 Uncaught ReferenceError: response is not defined at Object.error ((dynamic-full-calendar):118:10) at u (jquery.min.js:2:27457) at Object.fireWith [as rejectWith] (jquery.min.js:2:28202) at k (jquery.min.js:2:77676) at XMLHttpRequest. (jquery.min.js:2:79907)
calender is not displayed console error = Uncaught ReferenceError: response is not defined at Object.error (dynamic-full-calendar.html:156:10) at u (jquery.min.js:2:27457) at Object.fireWith [as rejectWith] (jquery.min.js:2:28202) at k (jquery.min.js:2:77676) at XMLHttpRequest. (jquery.min.js:2:79907)
I got This Probleme dynamic-full-calendar.html:106 Uncaught ReferenceError: response is not defined at Object.error (dynamic-full-calendar.html:106:15) at u (jquery.min.js:2:27457) at Object.fireWith [as rejectWith] (jquery.min.js:2:28202) at k (jquery.min.js:2:77676) at XMLHttpRequest. (jquery.min.js:2:79907)
Live demo and source code link: shinerweb.com/how-to-add-event-dynamically-in-fullcalendar-with-php-and-mysql-live-example/
This was really helpful for my Events Registration project, thank you so much! I wanted to ask if you could make a video on how to add "register for events" using php and MySQL
Thank my dear friend! I will try to make video
Sir thank you for the program. Everything is running perfectly, including calender. Sir isme event delete or edit keyse hoga
Thank you it really helped me a lot
Most welcome!
I copied your whole code as you said but the website does not show any calendar, the popup dialog is displayed but there is no calendar at all, prob something with the CSS but I don't know how to solve
please check your css and js file included in your file and also check is the any error in console log.
Same thing happens to me .......can you please help me to get rid of this????
really helpful
many thanks
but can i change the view of calendar ??
nested of month i want to be displayed in weekly?
Welcome! Yes you can change that view as weekly.. you can prefer doc of fullcalander
Gteat video🎉
Thanks siddharth... Keep in touch with our channel 😊🙏
Really helpful video
Thank you
thank you for this helpful video. i have a question, is it possible to also set time for the event in this calendar where it will be displayed when we look at the display screen?
Yes you can! you can put your time with your event name
good video
Thank you!😊
I copied the code but it won't show anything on the page... why?
Do you have created table and also you have configured your database credentials in my code
is because in the script you don't add var calendar to start the calendar
@@thoraudin2664 what i need to add where brother can you help me i need this in my project please reply 🙏
Thank you very much
You are welcome! Keep in touch with us
Great video. I have tried to make the calendar unique for each user by adding a column to the sql table and called it 'userame', and whenever I shell fetch data from the calendar table it uses the sql query with given username. However, if I use $_SESSION variables to determine logged in user, the calendar just disapperares.. is it a way to use / integrate session variables with javascript, or does it simply not work?
First you take one hidden like
@@Shinerweb in which .php file i'm i supposed to do that? please help
@@samuelmahiuha6259 where you have written your ajax call
@@Shinerweb can you be more specific on how to do this?
@@carterblake5785 i will try to make specific video to get data based on user login
I have copied the code but when I try and select a day on the calendar the model will not appear? What part of the code calls the model to activate onclick?
First you can go to inspect elements and there is one tab console so plz chech there is any error or not
How can I use a dropdown to retrieve data from only one table?
such as using a name, ID, or other identifier
It means you need to get data from the database
I downloaded the source code on my PC and when I run the dynamic full calendar.html file it's not showing the calender it's only showing the and content please help sir😢 (it's connected to the internet also )
Please check is there any error in console log
Where to get your .css and .js files ?
Thanks for the great video and source code. I have a problem. If an appointment has the beginning and the end in 2 consecutive weeks, that the appointment is displayed only in the first week. How can I change this?
Firstly thanks for your valuable comments!
I think it will be working fine can you please select the range and check again because I already created range wise events.
calender is not displayed
console message = Uncaught ReferenceError: response is not defined
at Object.error (dynamic-full-calendar.html:156:10)
at u (jquery.min.js:2:27457)
at Object.fireWith [as rejectWith] (jquery.min.js:2:28202)
at k (jquery.min.js:2:77676)
at XMLHttpRequest. (jquery.min.js:2:79907)
@@habipyatha933 there is some error in your php file
if I just want to save an event in just one day? I mean, the start and end date is always the same, without having to put another date as an end
For that you can take only from date only and this date will be store inside to date also.
@@Shinerweb thanks it works, another question, and to change language? i tried with locale cut it doesn't works, i need to export any library? thanks
@@lukalex31 it means you need to store some local language data in database or what
thank you for this wonderful and helpful tuto but how can i change the language into french, i tried but i couldn't change it
you need to include fullcalendar/lang-all.js and after that you need pass lang: 'es'
you can also prefer fullcalendar.io/docs/v3/lang
Hi, nice video. Can I change name of month or week for other language?
That's also i don't know but you can see fullcalendar documentation and is there any option to change month nd week language
How to run this code? I mean with which platform? Can I use VS code?
You require xampp server with mysql database
Hello! Thank you for the this video, is there a way to add also the time not just the date?
Yes i think you can add time also but we need to check and let you know
Sir how to edit or delete some event?
Hello Sir Please tell me how to add more input fields in event?
Really love it but I cannot figure out why only the event ID is being displayed onclick instead of event ID, event name, etc.
You can use that event id nd get all the details which you want
@@Shinerweb Hello, thanks, but that wasn't the issue. The event_name, etc were not listed in the columns to display even if using the id number :) I figured it out though. I normally only do PHP so it took me a bit to see what was going on. Thanks again.
@@thrive652 How did you do it?
@brunoribeiro20ify hi there... I'm sorry but I can't really remember right now but it was likely a bit of a hack. On thinking back, I may have had to redirect to a php page carrying along the event id, then hitting db with that and returning to calendar to refresh. That was a while back, but I hope it helps;)
@@thrive652 Hey there...Thanks for the return anyway, i managed to show the data I wanted, more or less like you did.
Again thanks!
Why have a calendar without times?
You can take date and time
there is only one line showing in the wedsite not even the calender.i implemented everything as you said
Please check your console log and see is there any error are there
how can create recurring events? like weekly event.
You can select date in a range
please provide the source code
it will very helpful
Thanks for your valuable comments! you can download source code from this link shinerweb.com/how-to-add-event-dynamically-in-fullcalendar-with-php-and-mysql-live-example/ please scroll down and at the end source code download link available. Thank you!
I can't delete events. I've trying 100x times in many diffrent ways but deleting events it's black magic for me.
Can you please tell me right now how you can try to delete record
@@Shinerweb in eventRender: function() I try use ajax and send event.event_id, but these dosent work.
Another try in the same function was use calendar.getEventById(event.event_id).remove() I found this in FullCalendar docs, but this dosent work too.
eventRender: function(event, element, view) {
element.bind('click', function() {
alert("some alert");
if(confirm("confirmation"))
{
var id_del = event.event_id;
$.ajax({
url: "delete.php",
type: "POST",
data: {id_del: id_del},
success: function()
{
alert("some success alert");
window.location.reload();
}
});
}
});
}
@@Shinerweb ok, i get it. ChatGPT its amazing :D
@@maxsigne good keep it up
hi can you tell me how you managed to delete events?@@maxsigne
Great video. But I have some problem, my calendar does not appear.
Please check your console and see is there any errors are there or not
same problem, can you help me please ?
(index):118 Uncaught ReferenceError: response is not defined
at Object.error ((dynamic-full-calendar):118:10)
at u (jquery.min.js:2:27457)
at Object.fireWith [as rejectWith] (jquery.min.js:2:28202)
at k (jquery.min.js:2:77676)
at XMLHttpRequest. (jquery.min.js:2:79907)
@@mitchooo there is some problem in your PHP file so please check that file
@@Shinerweb i don't understand because i have change nothing in your code...
@@mitchooo can you please tell where you are run this code or which domain you are using right now
It's really helpful but I can't access source code file.
You can download code from this link drive.google.com/file/d/1sy-Hwwb2XPjxI5QOypVitYuj62vqzK1K/view
@@Shinerweb sorry i don't know why but your script don't give for me
Event is not display
Please check is there any error in console or you can share your errors
please this code don't give for me i create the database but the calendar don't give i need help please
Please check your console.log is there any error are there
calender is not displayed
Please check your console.log and see is there any error are there
how to delete and change events?
In this demo, I already fetch id when you click on any event, and you can use that id for delete events from the calendar.
@@Shinerweb What does this mean? Deleting does not work nor does changing the event.
@@carterblake5785 you can delete the record
calender is not displayed
console error =
Uncaught ReferenceError: response is not defined
at Object.error (dynamic-full-calendar.html:156:10)
at u (jquery.min.js:2:27457)
at Object.fireWith [as rejectWith] (jquery.min.js:2:28202)
at k (jquery.min.js:2:77676)
at XMLHttpRequest. (jquery.min.js:2:79907)
I got This Probleme
dynamic-full-calendar.html:106 Uncaught ReferenceError: response is not defined
at Object.error (dynamic-full-calendar.html:106:15)
at u (jquery.min.js:2:27457)
at Object.fireWith [as rejectWith] (jquery.min.js:2:28202)
at k (jquery.min.js:2:77676)
at XMLHttpRequest. (jquery.min.js:2:79907)
Your response not sent from your server so please check where you written select query which is return some value or not
And also check json_encode