+ 1

how to connect a database with php

4th Jun 2019, 1:18 PM
HelloWorld!
HelloWorld! - avatar
2 odpowiedzi
+ 6
Hope this thread will be helpful for you😊😊 : https://www.cloudways.com/blog/connect-mysql-with-php/amp/ Thanks
4th Jun 2019, 1:39 PM
Prince PS[Not_Active]
Prince PS[Not_Active] - avatar
+ 1
you can either do it the imperative way or the object oriented way. for simplicity ill explain the imperative way $con=mysqli_connect(‘serverName’, ‘username’, ‘password’, ‘databaseName’) if on a local server, server name = ‘localhost’, username is usually ‘root’ this is the easy part
4th Jun 2019, 9:39 PM
Logomonic Learning
Logomonic Learning - avatar