Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (120 points)
@app.route("/submit_search")

def submit_search():

    search_words = request.args['search_words']   

    db_search= db.execute("SELECT title FROM books WHERE  title  LIKE "%search_words%"").fetchall()

    print(db_search)

Please log in or register to answer this question.

Browse Categories

...