Join Up!
96806 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previousmysql_resultmysql_statnext
Last updated: Tue, 29 Oct 2002
view the printer friendly version or the printer friendly version with notes or change language to Czech | Finnish | German

mysql_select_db

(PHP 3, PHP 4 )

mysql_select_db -- Selecciona un base de datos MySQL

Descripción

int mysql_select_db ( string base_de_datos [, int identificador_de_enlace])

Devuelve : TRUE si exito, FALSE si error.

mysql_select_db() establece la base activa que estara asociada con el identificador de enlace especificado. Si no se especifica un identificador de enlace, se asume el ultimo enlace abierto. Si no hay ningun enlace abierto, la función intentara establecer un enlace como si se llamara a mysql_connect().

Toda llamada posterior a mysql_query() utilizara la base activada.

Ver también: mysql_connect(), mysql_pconnect(), and mysql_query().

Por razones de compatibilidad puede usarse tambien mysql_selectdb().

User Contributed Notes
mysql_select_db
add a note about notes
There are no user contributed notes for this page.
previousmysql_resultmysql_statnext
Last updated: Tue, 29 Oct 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST