0
How to connect mysql with php?
hi how to connect mysql with php and fetch data from database...
1 Réponse
+ 1
Search for LAMP setup, or if you are in windows XAMP. If you already have this, you could easily establish a connection with your database passing your db name location user and password as arguments for the constructor of the mysqli object:
$mysqli = new mysqli(DB_HOST, DB_USERNAME, DB_PASSWORD, DB_NAME);