+ 1

How to Connect PHP with DB ?

14th Jun 2017, 8:24 AM
Sree Sankar A S
Sree Sankar A S - avatar
2 Answers
+ 3
Depends what DB you are using. If it is mysql $conn= mysqli_connect(host, username, password, dbname);
14th Jun 2017, 8:30 AM
Da' BO$
Da' BO$ - avatar
+ 2
another secure way is using PDO
14th Jun 2017, 9:44 AM
seamiki
seamiki - avatar