Proble connecting html element to database

Hi there!

I have a problem with the connection between my database and the html element. I have a code for a chart that I need to connect to the dynamic data of my database. I have tried but nothing shows up. I need it to be an html element because the filters required are very specific and couldn’t find a substitute of it. So far, as I was just trying the code with data manually introduced I had no problem but now I actually need it to connect to my database to show the data day by day and I can’t…

What am I doing wrong?

I leave the code I am using (sorry to send a pic but I cannot write the code here, for some reason)




4