New course! Every coder should learn Generative AI!
Try a free lesson0
Use information from a databank and show it on the website
Hello, I want to design a website but the information on it could change every day. So i thought i could use mysql and let the website read the information out of the databank. But i dont if this is possible. Does anyone know if this is possible? Thank you!
6 Answers
+ 2
You can do it with literally any programming language, php is a good option, and javascript also.
+ 1
Yes it‘s possible, that is exact the way, how Content-Management-Systems like WordPress manage the contents.
+ 1
This is a very common design pattern, in fact most websites work this way:
-front end (on the user's machine) that is shown to the user (UI)
-database that stores and serves dynamic content
-back end (on the server) making the connection between the gui and data layer and performing additional computations
+ 1
Oh ok, and do you know how i can do this? I have actually no idea how to do this. Does i need php?
+ 1
For pure database access a server-side language like PHP is essential due to security issues (paths, login names, passwords ...)
0
Sorry for the late reply. I have now a code to illustrate my question. So i have to examples. My website is connected to a SQL database and when i change the information in the database the website should refresh and show the new information. Im not very experienced in php so i dont have an idea how to do this. Could anyone help me with this? THANK YOU VERY MUCH!
https://code.sololearn.com/WqSYHacK6NR9/?ref=app