Forum und email

msql_db_query

(PHP 4, PHP 5)

msql_db_query — Send mSQL query

Descrição

resource msql_db_query ( string $database , string $query [, resource $link_identifier ] )

msql_db_query() selects a database and executes a query on it.

Parâmetros

database

The name of the mSQL database.

query

The SQL query.

link_identifier

A conexão mSQL. Se não for especificado, a ultima conexão aberta por msql_connect() é assumida. Se uma conexão assim não for encontrada, a função irá tentar establecer uma conexão como se a função msql_connect() fosse chamada, e irá usa-la.

Valor Retornado

Returns a positive mSQL query identifier to the query result, or FALSE on error.

Veja também