This video is made to Learn PHP Tutorial How to fetch data from Database using PHP and show in webstsite and execute sql query in Hindi.
PHP provides mysqli_connect() function to open a database connection. This function takes five parameters and returns a MySQL link identifier on success or FALSE on failure.
The mysqli_query() function performs a query against the database.
mysql_query() sends a unique query (multiple queries are not supported) to the currently active database on the server that’s associated with the specified link_identifier.