Advertisements
Advertisements
प्रश्न
Write MySQL Connection Syntax with example.
थोडक्यात उत्तर
Advertisements
उत्तर
Syntax:
mysqli_eonnect(“Server Name”, “User Name”, “password”, “DB Name”);
Example:
<?php
Sservername = “localhost”;
Susername = “username”;
Spassword = “password”;
$DB_name = “SchooLDB”;
// Create connection
$conn = mysqli_connect($servemame, Susername, Spassword,$DB_name);shaalaa.com
MYSQL Function in PHP
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
APPEARS IN
संबंधित प्रश्न
How many parameter are required for MYSQLi query function in PHP?
How many parameter are required for MYSQLI Close function in PHP?
Which version of PHP supports MySQLi fuctions?
Difference between Connection and Close function?
Give few examples of MySQLi Queries.
What is Connection string?
Write the Syntax for MySQLi Queries.
Discuss in detail about MySQL functions with example.
Explain in details types of MySQL connection method in PHP?
Explain MySQLi Queries with examples.
