How to use PHP db in Python Flask | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to use PHP db in Python Flask

I need to connect the database to my web application. I am using flask as a framework

10th Mar 2019, 3:45 AM
Mohammed Rayyan S R
Mohammed Rayyan S R - avatar
1 Answer
+ 3
In your Flask Python file app, you may write a python function which variables are assigned user form input and then return an html template of the information (however you process it). There is more explaination on the Flask documentation page you can find online.
10th Mar 2019, 5:55 AM
Nathan Lewis
Nathan Lewis - avatar