-1

When I try to execute the following php code:$dbh = new msqli($databasehost,$databaseusername,$databasepassword,$databasename);

I get class msqli not found

Do I need to change a php.ini setting? Something else? Thanks.

JohnD
  • 1

2 Answers2

1

there is no msqli .

try this with mysqli:

 $dbh = new mysqli($databasehost,$databaseusername,$databasepassword,$databasename);
echo_Me
  • 36,552
  • 5
  • 55
  • 77
0

You might be trying to use the mysqli extension See here http://www.php.net/manual/en/book.mysqli.php

David Wilkins
  • 574
  • 4
  • 19