cMySql57_Utils::ExistsDatabase() - rstoetter/libsqlphp GitHub Wiki

Method ExistsDatabase( )

 public  static   boolean rstoetter\libsqlphp\cMySql57_Utils::ExistsDatabase(\rstoetter\libsqlphp\mysqli $mysqli, $dbname)

The method ExistsDatabase returns true, if there is a database with the name $dbname

Example:

Arguments

  • $mysqli rstoetter\libsqlphp\mysqli - <p>the database connection</p>
  • $dbname mixed

Returns

boolean true, if there is a database with the name $dbname