ң

mysql_create_db

(PHP 3, PHP 4)

mysql_create_db - MySQL.

bool mysql_create_db (string database name [, resource link_identifier])

mysql_create_db() , .

TRUE , FALSE .

1. MySQL
<?php $link = mysql_pconnect("localhost", "mysql_user", "mysql_password") or exit("Could not connect"); if (mysql_create_db("my_db")) { print ("Database created successfully\n"); } else { printf ("Error creating database: %s\n", mysql_error ()); } ?>

mysql_createdb(). .

: mysql_create_db() . mysql_query() SQL CREATE DATABASE.

. mysql_drop_db() , mysql_query() .


ң
mysql_connect mysql_data_seek