Learn about how to make database connection in php tamil | how to connect mysql database using php in tamil | how to set username and password to connect database in php tamil | what function should use to make db connection php | mysqli_connect and new mysqli
Database connection is very important to manipulate the records in mysql database for that we can use the following default methods in php.
mysqli_connect():
this is the default function for create db connection with mysql database.
new mysqli():
This is the mysqli class we can create a object and then use to manage the database
Here we should pass four parameters,
1. host="localhost"
2. username= "your_db_username"
3. password="your_db_password"
4. dbname="your_db_name
email: benatureall@gmail.com
28 авг 2021