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)
|
||||
st.write("All changes saved!")
|
||||
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()
|
||||
for index, row in df.iterrows():
|
||||
query = ("INSERT INTO `workouts`"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue