Ajax inserting duplicate records in Mysql Database – Jquery ajax
I have the following Ajax Code for submitting data to Mysql DB. <script> var amountdue; var amount; $('#btn-submit').on('click',function(e){ e.preventDefault(); if ($("#customer").validationEngine('validate')) { swal({ title: "Submit Confirmation", text: "Are you sure to submit the data?", type: "warning", showCancelButton: true, confirmButtonColor: "#126495",…