mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
changed data i want to execute
This commit is contained in:
@@ -65,7 +65,7 @@ def phpmyadmin_passthrough(path):
|
|||||||
def database():
|
def database():
|
||||||
try:
|
try:
|
||||||
with cnx.cursor() as cur:
|
with cnx.cursor() as cur:
|
||||||
cur.execute("SELECT * FROM kobuki_data")
|
cur.execute("SELECT DATABASE()")
|
||||||
rows = cur.fetchall() # Haal alle rijen op uit het resultaat
|
rows = cur.fetchall() # Haal alle rijen op uit het resultaat
|
||||||
return str(rows)
|
return str(rows)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Reference in New Issue
Block a user