mysql_select_db.php : mysql_select_db « MySQL Database « PHP






mysql_select_db.php

 
$mysqli = new mysqli("localhost", "root","");

$mysqli->select_db("book") or die("Can't select db!");
  
  








Related examples in the same category

1.Create guestbook table
2.Using MySQL with PHP
3.Opening a Connection and Selecting a Database
4.mysql_select_db(): select database
5.mysql_select_db.php