I am in a project in which I use javascript to take information from some forms and I would like to be able to work with a database through phpmyadmin but as I understand I must first pass all the data I have taken through javascript to php There my doubt.
What would be the easiest way to pass a data obtained from an HTML form by javascript to PHP to communicate with phpmyadmin there?
For example, a user tries to log in through a login form, that data is received by javascript, javascript is passed to Php and this communicates with the database that gives us an OK or a KO according to the result of the query.
I feel if I have explained myself wrongly. Thanks in advance.