PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mysql_errno> <mysql_db_query
Last updated: Fri, 18 Jul 2008

view this page in

mysql_drop_db

(PHP 4, PHP 5, PECL mysql:1.0)

mysql_drop_db — Elimina (cancella) un database MySQL

Descrizione

bool mysql_drop_db ( string $nome_database [, resource $ identificativo_connessione ] )

Restituisce TRUE in caso di successo, FALSE in caso di fallimento.

mysql_drop_db() tenta di eliminare (cancellare) un intero database dal server associato all'identificativo di connessione specificato.

Per motivi di compatibilità con il passato, anche mysql_dropdb() può essere usato. Questa è comunque sconsigliato.

Nota: La funzione mysql_drop_db() è sconsigliata. Al suo posto è preferibile usare mysql_query() per inviare una istruzione SQL DROP DATABASE.

Vedere anche: mysql_create_db(), mysql_query().



add a note add a note User Contributed Notes
mysql_drop_db
There are no user contributed notes for this page.

mysql_errno> <mysql_db_query
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites