0

How can you connect html with database (sql)? Do you use php for that, if so, how?

7th Sep 2016, 11:58 AM
Dustin Garcia
Dustin Garcia - avatar
3 odpowiedzi
+ 1
HTML pages are only client pages used to either view or interact with data. If data needs to be dynamic meaning that the data can change e.g (user registration, capture or update of details etc.) you need a database to save all of your changes. To have access to save/update/delete or read from a database you require a server-side which will be developed in something like java, c#, c++, PHP etc. All your application logic should be processed on the server-side of your application and not within you client pages.
7th Sep 2016, 7:38 PM
Dewald Oosthuizen
Dewald Oosthuizen - avatar
0
yes you need a server-side technology. php would be one of them. you can do this with python, nodejs, etc. you don t connect the html with a db, but rather php. regarding the how, you can/ should use PDO if not an ORM .. like Doctrine.
7th Sep 2016, 4:58 PM
Madalin
0
For that we use MySQL
25th Sep 2016, 4:56 PM
Evgeniy Kuznetsov