Can anyone tell me how to connect the php program to the database? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone tell me how to connect the php program to the database?

I have written a php program for student form....the HTML program is working .... I m not able to store the data into the database

2nd Nov 2017, 9:55 AM
Anusha.A
2 Answers
+ 2
You must to design a struct database and next connect to it with host, user and password
3rd Nov 2017, 1:10 AM
Daniel
Daniel - avatar
+ 2
Usually with PHP you use MySQL database https://www.w3schools.com/php/php_mysql_connect.asp
3rd Nov 2017, 1:11 AM
Daniel
Daniel - avatar