I am not able to add the data in xampp database – Phpmyadmin
from tkinter import * from tkinter import messagebox import mysql.connector from tkinter import Button def ok(): name = e1.get() salary = e2.get() dob = e3.get() mysqldb = mysql.connector.connect(host="localhost", user="root", password="", database="sahil") mycursor = mysqldb.cursor() try: sql = "INSERT INTO clients(ID,NAME,SALARY,DOB)…