0
I’m using this calendar as a basis https://github.com/GabrielpBiu/calendario-de-eventos-php-fullcalendar-mysql In the description there is a textarea. When you jump line and save to the database, you cannot load the calendar because of the error Uncaught Syntaxerror: Invalid or Unexpected token
In the bank it’s like this:
how do I agree?
This may be happening for N reasons, version of your database, version of your php, or configuration of your server. I work on a server that does not accept line breaking, because php interprets the break as a new line, generating the same error you have. I solved the problem using a two functions one to treat the text input and the other to treat the output, I will post below.
– Gnomo Escalate