I have a javascript calendar and I want to make it so when a event is added to a mysql table it can be seen on the calendar. I know you can't put SELECT and other mysql stuff in a script so how can I do this?
HTML:
<div id="main" class="container">
<span class="jumbotron">
<h1 class="text-center">
<a id="left" href="#">
<i class="fas fa-chevron-left"></i>
</a>
<span id="month"></span>
<span i
I have a javascript calendar and I want to make it so when a event is added to a mysql table it can be seen on the calendar. I know you can't put SELECT and other mysql stuff in a script so how can I do this?
HTML:
<div id="main" class="container">
<span class="jumbotron">
<h1 class="text-center">
<a id="left" href="#">
<i class="fas fa-chevron-left"></i>
</a>
<span id="month"></span>
<span i