Python Forum
Flash is not working in flask
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flash is not working in flask
#4
my question here
I am doing a query from Mysql database and then flashing that value on the front-end. But that variable is not appearing

my code here
x=c.execute("SELECT TELLER_ID from TELM where email=(%s)", (email,))

c.close()
conn.close()

flash("The User ID is (%s)", (x) )

---It is showing output as "The User ID is (%s)"

User has been warned for this post. Reason: No BBcode, Creating new threads unnecessarily
Reply


Messages In This Thread
Flash is not working in flask - by sahilsiddharth - Jun-14-2017, 09:44 PM
RE: Flash is not working in flask - by buran - Jun-15-2017, 08:14 AM
RE: Flash is not working in flask - by nilamo - Jun-30-2017, 04:51 PM
Variable is not working in flash - by sahilsiddharth - Jul-01-2017, 08:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  code not working when executed from flask app ThomasDC 1 994 Jul-18-2023, 07:16 AM
Last Post: ThomasDC
  Help with getting a led to flash. corsasri 10 4,329 Aug-06-2020, 05:14 PM
Last Post: DPaul

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020