Update and insert same mysqli query with php condition i WANT TO ADD ANOTHER TABLE COLUMN NAME LEDGER_TYPE IN THE SAME QUERY. HERE IS MY BELOW CODE