How to do an onclick with update in the database?

Asked

Viewed 102 times

0

I’m wondering how to make an onclick by clicking already do an update in the database

  • 1

    Before anything, start by doing the tour to understand how the community works; then read the How to ask to check how you can improve your question and finally access help center to check various articles that will help you better understand the site.

1 answer

2

Starting from the point that the language used (PHP, .Net, Node.JS) or the database was not specified, it is difficult to help you.

But basically, for web systems, onClick fires an HTTP, whether GET, POST, PUT or DELETE, via ajax, which received in the backend, must do the operation in the database.

Search for topics such as, Ajax, and CRUD PHP or CRUD + Language used.

Hugs.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.