Compare commits
2 commits
b616ca80ca
...
84172cfa8f
| Author | SHA1 | Date | |
|---|---|---|---|
| 84172cfa8f | |||
| 70137c047d |
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ if st.button('Save All Changes'):
|
||||||
df.update(st.session_state.edited_df)
|
df.update(st.session_state.edited_df)
|
||||||
st.write("All changes saved!")
|
st.write("All changes saved!")
|
||||||
st.write(df)
|
st.write(df)
|
||||||
conn = mysql.connector.connect(user='root',password='Throwaway', host='localhost',port=3306,database='workouts')
|
conn = mysql.connector.connect(user=user,password=password, host=host,port=port,database=database)
|
||||||
cursor = conn.cursor()
|
cursor = conn.cursor()
|
||||||
for index, row in df.iterrows():
|
for index, row in df.iterrows():
|
||||||
query = ("INSERT INTO `workouts`"
|
query = ("INSERT INTO `workouts`"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue