How to insert values in database table(oc_voucher) dynamically by usin

  • Answered
I want to apply onclick function to confirm button and when click on confirm button values have to be insert in oc_voucher table in opencart dynamically.

Please let me know how to achieve it and if possible,Please help me out with an example.

Thanks for your time :)
Hello Sinu, It will take some trial and error to create but we have an article on using php to insert data into a mysql database. You can read more on the subject here. Best Regards, TJ Edens