Jun-15-2020, 03:06 AM
This is the only other form that I found that it might work in, if it doesn't work then I've got nothing else even after going through at least 10 various pages.
@app.route("/search", methods=["GET", "POST"]) def search(): searchString = 'user' b = db.execute(f"SELECT * FROM books WHERE author LIKE %{searchString}%").fetchone() print(b) return render_template("search.html", anyVariableName=b)