Welcome Guest, Not a member yet? Register   Sign In
In CodeIgniter: changing database driver to 'mysqli' doesn't work!
#5

[eluser]InsiteFX[/eluser]
Easy way to check for a mysqli connection. Just create a new php file and add this code to the root.

Code:
<?php

$db_conn = mysqli_connect("localhost", "user_name", "password", "database_name");

// Evaluate the connection
if (mysqli_connect_errno())
{
    echo mysqli_connect_error();
    exit();
}

else
{
    echo "Successful database connection, happy coding!!!";
}

?>


Messages In This Thread
In CodeIgniter: changing database driver to 'mysqli' doesn't work! - by El Forum - 08-05-2014, 07:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB