how to link a database to a webpage so that if a data will be entered in the webpage then it will be stored in the database | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

how to link a database to a webpage so that if a data will be entered in the webpage then it will be stored in the database

30th Jan 2018, 8:55 PM
Soumya Darshan Padhy
Soumya Darshan Padhy - avatar
2 Answers
+ 4
You can use php to connect to the database and a html form to send the data to the php script. Just make sure to guard against SQL injection (read about PDO and prepared queries).
30th Jan 2018, 9:10 PM
SplittyDev
SplittyDev - avatar
+ 3
how the php can be used to link??
10th Feb 2018, 6:22 PM
Soumya Darshan Padhy
Soumya Darshan Padhy - avatar