I'm new to web development, and trying to set up a website that has access to a MySQL database for data to display on the pages. I need to be able to get data from the database and to add new entries.
As far as I understand I cannot/should not do MySQL requests from a web browser. One solution I have read is to be using node.js as my server to be access the database and to be serving web pages to the client, but I am unsure as to how I can then add the entries to the database.
What is generally a good way to structure a website like this?
Aucun commentaire:
Enregistrer un commentaire