I've read about it but all the solutions doesn't help me.
I've already added this to my .htaccess file:
<FilesMatch "\.(js)$">AddHandlerapplication/x-httpd-php .js</FilesMatch>.
That's my javascript code:
$('#calendar').fullCalendar({
header: {
left: 'prev,next',
center: 'title',
right: 'today'
},
defaultDate: "<?php echo $current ?>",
editable: false,
But nothing appears then. I'd be grateful if anyone knows the solution.
defaultDate: new Date(),.<script src="./myscript.php"></script>