I'm fairly new to using MySQL, HTML, and Python synchronously. I have a website that I create using HTML, CSS, and Javascript. Then I use Python to enter data into a MySQL database. My question is how can I create a table on my HTML side and input MySQL data into the table using Python. I would like the table to grow row-wise dynamically (i.e. I don't want to refresh/reload and the new data should enter the HTML table in a new row so that the table display's all of the data in the MySQL database).
So far I am entering data correctly into the MySQL database and it is being populated. However, I'm stuck on how to:
- Create an HTML table that grows dynamically based on amount of data
- Use Python to input the data from the MySQL database into the table
- I would like a solution WITHOUT using PHP
I'm very new to MySQL, HTML, and Python and therefore, any and all help is greatly appreciated. Thank you in advance!