dimanche 24 septembre 2017

How to get data from my basic website and insert it to the database?

I have been working on my first project toward web development and I built a very simple website using HTML, CSS, and a little bit of Javascript. I am finally done with building the pages, and the main idea is take information from the form in the first page. I have subscribed to a host service from Hostgator, uploaded my documents, and created mySQL database and user to access it as well as a table with the right headings.

Now I'm stuck that I don't know how to take the information from the form and post it or insert it to the database using javascript or other tools?

I have tried using mysql module in javascript but require() dosen't work on browsers (client-side). This is my first real experience with all these three languages even though I have been studying them for months now.

I do have experience with other languages along with mySQL, but I don't have that much knowledge around php or node.js.

I just need an insight or a right way to do this.

Sorry to make it this long, also first post in the community. Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire