MYSQLI Connection String

Checking PHP Installation

Use phpinfo() function to get details of your PHP installation. You should able to read this part from the output.

Using function_exists to check mysqli support
if (function_exists('mysqli_connect')) {
  echo "mysqli is installed";
echo " Enable Mysqli support in your PHP installation "; 

Download files to test your MySQLI support


Open your php.ini file ( php configuration file ) inside your PHP directory ( or windows directory ) . Search for mysqli and enable the dll by removing ; before it. You may have to re-boot your system. Here is an image of two lines after removing ; inside php.ini file.

php.ini mysqli dll

MYSQLI Functions mysqli_connect(): Connection string for MYSQLI
Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net

    Post your comments , suggestion , error , requirements etc here

    PHP video Tutorials
    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2023 All rights reserved worldwide Privacy Policy Disclaimer