Example #1
0
 /// <summary>
 /// Selects the default database for database queries.
 /// </summary>
 public static bool mysqli_select_db(mysqli link, string dbname)
 {
     if (link != null)
     {
         return(link.select_db(dbname));
     }
     else
     {
         PhpException.ArgumentNull(nameof(link));
         return(false);
     }
 }
Example #2
0
 /// <summary>
 /// Selects the default database for database queries.
 /// </summary>
 public static bool mysqli_select_db(mysqli link, string dbname) => link.select_db(dbname);