Is there any way to assign values from MYSQL query in flask to an HTML document?

Questions › Is there any way to assign values from MYSQL query in flask to an HTML document?
sethbeckerman5 Staff asked 4 years ago

I am working on a webpage where I do a query in the Python flask app. Following is the query I ran:

Which Results in:
I want to access these data one by one to assign them to the following Quantity Part of the HTML code:


View on Stack Overflow