Use information from a databank and show it on the website | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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!

15th Aug 2019, 7:42 PM
FlyiiingDani
FlyiiingDani - avatar
6 Answers
+ 2
You can do it with literally any programming language, php is a good option, and javascript also.
15th Aug 2019, 9:34 PM
Tibor Santa
Tibor Santa - avatar
+ 1
Yes it‘s possible, that is exact the way, how Content-Management-Systems like WordPress manage the contents.
15th Aug 2019, 7:47 PM
Michael
Michael - avatar
+ 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
15th Aug 2019, 9:06 PM
Tibor Santa
Tibor Santa - avatar
+ 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?
15th Aug 2019, 9:14 PM
FlyiiingDani
FlyiiingDani - avatar
+ 1
For pure database access a server-side language like PHP is essential due to security issues (paths, login names, passwords ...)
16th Aug 2019, 4:35 AM
Michael
Michael - avatar
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
24th Aug 2019, 7:03 PM
FlyiiingDani
FlyiiingDani - avatar