Commit
·
e1c39c8
1
Parent(s):
e41a094
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def main():
|
|
58 |
email=st.text_input("Enter New Email")
|
59 |
if st.button("Update"):
|
60 |
sql="update users set email=%s where name=%s"
|
61 |
-
val=(name,
|
62 |
mycursor.execute(sql)
|
63 |
mydb.commit()
|
64 |
st.success("Record Updated Successfully!!!")
|
|
|
58 |
email=st.text_input("Enter New Email")
|
59 |
if st.button("Update"):
|
60 |
sql="update users set email=%s where name=%s"
|
61 |
+
val=(name,email)
|
62 |
mycursor.execute(sql)
|
63 |
mydb.commit()
|
64 |
st.success("Record Updated Successfully!!!")
|