I have a table in db which stores username, month, expenses, and price. User will select month from dropdown menu. Any month. But lets say if he already select January before, then if he login and choose January again, the system will be replace the old records of January with the new one. My question is, how to replace in db if the user choose same month as before?
Thank you
Try this: