Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 703d980c580707c382b4e43e25965bc5 > files > 12020

php-manual-pt_BR-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>MySQL Melhorada</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="Manual do PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="Referência das Funções"
HREF="funcref.html"><LINK
REL="PREVIOUS"
TITLE="PDO_MYSQL DSN"
HREF="ref.pdo-mysql.connection.html"><LINK
REL="NEXT"
TITLE="mysqli_affected_rows"
HREF="function.mysqli-affected-rows.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="reference"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Manual do PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="ref.pdo-mysql.connection.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.mysqli-affected-rows.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="reference"
><A
NAME="ref.mysqli"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
>C. MySQL Melhorada</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN132157"
></A
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="mysqli.intro"
>Introdução</A
></H1
><P
>&#13;     A extensão mysqli permite a você acessar a funcionalidade provida pelo
     MySQL 4.1 e posterior. Maiores informações sobre o servidor de banco de dados MySQL
     podem ser encontradas em <A
HREF="http://www.mysql.com/"
TARGET="_top"
>http://www.mysql.com/</A
>
    </P
><P
>&#13;     Documentação para o MySQL pode ser encontrada em <A
HREF="http://dev.mysql.com/doc/"
TARGET="_top"
>http://dev.mysql.com/doc/</A
>.
    </P
><P
>Partes desta documentação foram incluídas do manual do MySQL com a permissão de MySQL AB.</P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="mysqli.requirements"
>Dependências</A
></H1
><P
>&#13;     Para ter esta funções disponíveis, você deverá compilar o PHP com
     suporte para a extensão mysqli.
    </P
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Nota: </B
>
      A extensão mysqli foi criada para funcionar com a versão 4.1.2 ou posterior
      do MySQL. Para versões anteriores, por favor vejaa documentação da extensão <A
HREF="ref.mysql.html"
>MySQL</A
>.
     </P
></BLOCKQUOTE
></DIV
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="mysqli.installation"
>Instalação</A
></H1
><P
>&#13;  Para instalar a extensão mysqli para o PHP, use a opção de configuração 
  <CODE
CLASS="option"
>--with-mysqli=mysql_config_path/mysql_config</CODE
>
  aonde <TT
CLASS="literal"
>mysql_config_path</TT
> representa a 
  localização do programa <TT
CLASS="literal"
>mysql_config</TT
> que vem com
  versões do MySQL maiores do que 4.1.  
 </P
><P
>&#13;  Se você quiser instalar a extensão mysql junto com a extensão mysqli
  você tem que usar a mesma biblioteca de cliente para previnir quaisquer conflitos.
 </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="mysqli.configuration"
>Configurações em execução</A
></H1
><P
>&#13;O comportamento dessas funções podem ser modificado pelas configurações do <TT
CLASS="filename"
>php.ini</TT
>.
</P
><P
>&#13;  <DIV
CLASS="table"
><A
NAME="AEN132183"
></A
><P
><B
>Tabela 1. Opções de configuração do MySQLi</B
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><COL><COL><COL><THEAD
><TR
><TH
>Nome</TH
><TH
>Padrão</TH
><TH
>Modificável</TH
></TR
></THEAD
><TBODY
><TR
><TD
>mysqli.max_links</TD
><TD
>"-1"</TD
><TD
>PHP_INI_SYSTEM</TD
></TR
><TR
><TD
>mysqli.default_port</TD
><TD
>NULL</TD
><TD
>PHP_INI_ALL</TD
></TR
><TR
><TD
>mysqli.default_socket</TD
><TD
>NULL</TD
><TD
>PHP_INI_ALL</TD
></TR
><TR
><TD
>mysqli.default_host</TD
><TD
>NULL</TD
><TD
>PHP_INI_ALL</TD
></TR
><TR
><TD
>mysqli.default_user</TD
><TD
>NULL</TD
><TD
>PHP_INI_ALL</TD
></TR
><TR
><TD
>mysqli.default_pw</TD
><TD
>NULL</TD
><TD
>PHP_INI_ALL</TD
></TR
></TBODY
></TABLE
></DIV
>
 </P
><P
>&#13;  Para maiores detalhes e definições das constantes PHP_INI_* acima, veja 
  o capitulo sobre <A
HREF="configuration.changes.html"
>mudanças de
  configuração</A
>.
 </P
><P
>Breve descrição das
 diretivas de configuração.</P
><P
>&#13; <P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><A
NAME="ini.mysqli.max-links"
></A
><CODE
CLASS="parameter"
>mysqli.max_links</CODE
>
    <A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
></DT
><DD
><P
>&#13;     O número máximo de conexões MySQL por processo.
    </P
></DD
><DT
><A
NAME="ini.mysqli.default-port"
></A
><CODE
CLASS="parameter"
>mysqli.default_port</CODE
>
    <A
HREF="language.types.string.html"
><B
CLASS="type"
>string</B
></A
></DT
><DD
><P
>&#13;     O número da porta TCP padrão para usar ao conectar ao
     servidor de banco de dados se não for especificada outra porta. Se 
     não for especificado um padrão, então a porta será obtida da
     variável de ambiênte <TT
CLASS="literal"
>MYSQL_TCP_PORT</TT
>,
     a entrada <TT
CLASS="literal"
>mysql-tcp</TT
> em
     <TT
CLASS="filename"
>/etc/services</TT
> ou a constante em tempo de compilação
     <TT
CLASS="literal"
>MYSQL_PORT</TT
>, nesta ordem. Em Win32
     será usada apenas a constante <TT
CLASS="literal"
>MYSQL_PORT</TT
>.
    </P
></DD
><DT
><A
NAME="ini.mysqli.default-socket"
></A
><CODE
CLASS="parameter"
>mysqli.default_socket</CODE
>
    <A
HREF="language.types.string.html"
><B
CLASS="type"
>string</B
></A
></DT
><DD
><P
>&#13;     O nome padrão do socket para usar ao conectar com um servidor
     de banco de dados local, se não for especificado outro nome de socket.
    </P
></DD
><DT
><A
NAME="ini.mysqli.default-host"
></A
><CODE
CLASS="parameter"
>mysqli.default_host</CODE
>
    <A
HREF="language.types.string.html"
><B
CLASS="type"
>string</B
></A
></DT
><DD
><P
>&#13;     O servidor padrão para usar ao conectar com o servidor
     de banco de dados se não for especificado um servidor. Não se aplica em 
     <A
HREF="features.safe-mode.html#ini.safe-mode"
>safe mode</A
>.
    </P
></DD
><DT
><A
NAME="ini.mysqli.default-user"
></A
><CODE
CLASS="parameter"
>mysqli.default_user</CODE
>
    <A
HREF="language.types.string.html"
><B
CLASS="type"
>string</B
></A
></DT
><DD
><P
>&#13;     O nome de usuário padrão para usar ao conectar com o 
     servidor de banco de dados. Não se aplica em 
     <A
HREF="features.safe-mode.html#ini.safe-mode"
>safe mode</A
>.
    </P
></DD
><DT
><A
NAME="ini.mysqli.default-pw"
></A
><CODE
CLASS="parameter"
>mysqli.default_password</CODE
>
    <A
HREF="language.types.string.html"
><B
CLASS="type"
>string</B
></A
></DT
><DD
><P
>&#13;     A senha padrão para usar ao conectar ao servidor de
     banco de dados se não for especificado outra senha. Não se aplica em 
     <A
HREF="features.safe-mode.html#ini.safe-mode"
>safe mode</A
>.
    </P
></DD
></DL
></DIV
>
 </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="mysqli.classes"
>Classes pré-definidas</A
></H1
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="mysqli.class.mysql"
><B
CLASS="classname"
>mysqli</B
></A
></H2
><P
>&#13;      Representa uma conexão entre o PHP e um banco de dados MySQL.
     </P
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="mysqli.class.mysql.constructor"
>Construtor</A
></H3
><P
></P
><UL
><LI
><P
><A
HREF="function.mysqli-connect.html"
>mysqli()</A
> - constroi um novo objeto mysqli</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="mysqli.class.mysql.methods"
>Métodos</A
></H3
><P
></P
><UL
><LI
><P
><A
HREF="function.mysqli-autocommit.html"
>autocommit()</A
> - ativa ou desativa o salvar automaticamente as modificações no banco de dados</P
></LI
><LI
><P
><A
HREF="function.mysqli-change-user.html"
>change_user()</A
> - modifica o usuário da conexão com o banco de dados especficada</P
></LI
><LI
><P
><A
HREF="function.mysqli-character-set-name.html"
>character_set_name</A
> - retorna o conjunto de caracteres padrão para a conexão com o banco de dados</P
></LI
><LI
><P
><A
HREF="function.mysqli-close.html"
>close</A
> - fecha uma conexão aberta anteriormente</P
></LI
><LI
><P
><A
HREF="function.mysqli-commit.html"
>commit</A
> - grava a transação atual</P
></LI
><LI
><P
><A
HREF="function.mysqli-connect.html"
>connect</A
> - abre uma nova conexão com o servidor de banco de dados MySQL</P
></LI
><LI
><P
><A
HREF="function.mysqli-debug.html"
>debug</A
> - realiza operações de debug</P
></LI
><LI
><P
><A
HREF="function.mysqli-dump-debug-info.html"
>dump_debug_info</A
> - mostra informações de debug</P
></LI
><LI
><P
><A
HREF="function.mysqli-get-client-info.html"
>get_client_info</A
> - retorna a versão do cliente</P
></LI
><LI
><P
><A
HREF="function.mysqli-get-host-info.html"
>get_host_info</A
> - retorna o tipo da conexão usada</P
></LI
><LI
><P
><A
HREF="function.mysqli-get-server-info.html"
>get_server_info</A
> - retorna a versão do servidor MySQL</P
></LI
><LI
><P
><A
HREF="function.mysqli-get-server-version.html"
>get_server_version</A
> - retorna a versão do servidor MySQL</P
></LI
><LI
><P
><A
HREF="function.mysqli-init.html"
>init</A
> - inicia o objeto mysqli</P
></LI
><LI
><P
><A
HREF="function.mysqli-info.html"
>info</A
> - retorna informação sobre a consulta mais recente executada</P
></LI
><LI
><P
><A
HREF="function.mysqli-kill.html"
>kill</A
> - diz ao servidor para matar uma thread do mysql</P
></LI
><LI
><P
><A
HREF="function.mysqli-multi-query.html"
>multi_query</A
> - executa multiplas consultas</P
></LI
><LI
><P
><A
HREF="function.mysqli-more-results.html"
>more_results</A
> - confere se existem mais resultados na consulta multipla atual</P
></LI
><LI
><P
><A
HREF="function.mysqli-next-result.html"
>next_result</A
> - lê o próximo resultado da consulta multipla atual</P
></LI
><LI
><P
><A
HREF="function.mysqli-options.html"
>options</A
> - define opções</P
></LI
><LI
><P
><A
HREF="function.mysqli-ping.html"
>ping</A
> - pinga uma conexão com o servidor ou reconecta se não houver conexão</P
></LI
><LI
><P
><A
HREF="function.mysqli-prepare.html"
>prepare</A
> - prepara uma consulta SQL</P
></LI
><LI
><P
><A
HREF="function.mysqli-query.html"
>query</A
> - executa uma consulta</P
></LI
><LI
><P
><A
HREF="function.mysqli-real-connect.html"
>real_connect</A
> - tenta abrir uma conexão com o servidor de banco de dados MySQL</P
></LI
><LI
><P
><A
HREF="function.mysqli-real-escape-string.html"
>escape_string</A
> - escapa os caracteres especiais para usar em uma consulta SQL, levando em conta o conjunto de caracteres atual</P
></LI
><LI
><P
><A
HREF="function.mysqli-rollback.html"
>rollback</A
> - desfaz a transação atual</P
></LI
><LI
><P
><A
HREF="function.mysqli-select-db.html"
>select_db</A
> - define o banco de dados padrão</P
></LI
><LI
><P
><A
HREF="function.mysqli-ssl-set.html"
>ssl_set</A
> - define parâmetros ssl</P
></LI
><LI
><P
><A
HREF="function.mysqli-stat.html"
>stat</A
> - retorna o estado atual do sistema</P
></LI
><LI
><P
><A
HREF="function.mysqli-stmt-init.html"
>stmt_init</A
>Inicia um comando para usar com mysqli_stmt_prepare</P
></LI
><LI
><P
><A
HREF="function.mysqli-store-result.html"
>store_result</A
> - transfere um conjunto de resultados da ultima consulta</P
></LI
><LI
><P
><A
HREF="function.mysqli-use-result.html"
>use_result</A
> - transfere um conjunto de resultados não guardado em buffer da ultima consulta</P
></LI
><LI
><P
><A
HREF="function.mysqli-thread-safe.html"
>thread-safe</A
> - retorna quando thread safety é dado ou não</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="mysqli.class.mysql.properties"
>Propriedades</A
></H3
><P
></P
><UL
><LI
><P
><A
HREF="function.mysqli-affected-rows.html"
>affected_rows</A
> - retorna o número de linhas afetadas pela operação MySQL anterior</P
></LI
><LI
><P
><A
HREF="function.mysqli-errno.html"
>errno</A
> - retorna o código de erro da chamada de função mais recente</P
></LI
><LI
><P
><A
HREF="function.mysqli-error.html"
>error</A
> - retorna a string de erro da chamada de função mais recente</P
></LI
><LI
><P
><A
HREF="function.mysqli-field-count.html"
>field_count</A
> - retorna o número de colunas da consulta mais recente</P
></LI
><LI
><P
><A
HREF="function.mysqli-get-host-info.html"
>host_info</A
> - retorna uma string representando o tipo de conexão usada</P
></LI
><LI
><P
><A
HREF="function.mysqli-info.html"
>info</A
> - retorna informação sobre a consulta mais recente executada</P
></LI
><LI
><P
><A
HREF="function.mysqli-insert-id.html"
>insert-id</A
> - retorna o id gerado automaticamente usado na ultima consulta</P
></LI
><LI
><P
><A
HREF="function.mysqli-get-proto-info.html"
>protocol_version</A
> - retorna a versão usada do protocolo MySQL</P
></LI
><LI
><P
><A
HREF="function.mysqli-sqlstate.html"
>sqlstate</A
> - retorna uma string contendo o código de erro SQLSTATE do ultimo erro</P
></LI
><LI
><P
><A
HREF="function.mysqli-thread-id.html"
>thread_id</A
> - retorna o thread ID da conexão atual</P
></LI
><LI
><P
><A
HREF="function.mysqli-warning-count.html"
>warning-count</A
> - retorna o número de warnings(avisos) gerados durante a execução da consulta SQL anterior</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="mysqli.classes.stmt"
><B
CLASS="classname"
>mysqli_stmt</B
></A
></H2
><P
>&#13;      Representa um comando preparado.
     </P
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="mysqli.class.stmt.methods"
>Métodos</A
></H3
><P
></P
><UL
><LI
><P
><A
HREF="function.mysqli-bind-param.html"
>bind_param</A
> - Binds variables to a prepared statement</P
></LI
><LI
><P
><A
HREF="function.mysqli-bind-result.html"
>bind_result</A
> - Binds variables to a prepared statement for result storage</P
></LI
><LI
><P
><A
HREF="function.mysqli-stmt-close.html"
>close</A
> - Fecha um comando preparado</P
></LI
><LI
><P
><A
HREF="function.mysqli-stmt-data-seek.html"
>data-seek</A
> - Move para uma linha arbritária em um conjuto de resultads em um comando preparado</P
></LI
><LI
><P
><A
HREF="function.mysqli-execute.html"
>execute</A
> - Executa um comando preparado</P
></LI
><LI
><P
><A
HREF="function.mysqli-fetch.html"
>fetch</A
> - Obtém resultados de um comando preparado em variáveis</P
></LI
><LI
><P
><A
HREF="function.mysqli-stmt-free-result.html"
>free_result</A
> - Libera a memória do resultado de um comando preparado</P
></LI
><LI
><P
><A
HREF="function.mysqli-stmt-result-metadata.html"
>result_metadata</A
> - Retorna um conjunto de resultados de um comando preparado para informação de metadados</P
></LI
><LI
><P
><A
HREF="function.mysqli-stmt-prepare.html"
>prepare</A
> - Prepara uma consulta SQL</P
></LI
><LI
><P
><A
HREF="function.mysqli-send-long-data.html"
>send_long_data</A
> - Envia os dados em pedaços</P
></LI
><LI
><P
><A
HREF="function.mysqli-stmt-store-result.html"
>store_result</A
> - Guarda todo o conjunto de resultados de um comando preparado em buffer</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="mysqli.class.stmt.properties"
>Propriedades</A
></H3
><P
></P
><UL
><LI
><P
><A
HREF="function.mysqli-stmt-affected-rows.html"
>affected_rows</A
> - Retorna as linhas afetadas pela ultima consulta executada</P
></LI
><LI
><P
><A
HREF="function.mysqli-stmt-errno.html"
>errno</A
> - Retorna o código de erro pela ultima função do comando</P
></LI
><LI
><P
><A
HREF="function.mysqli-stmt-error.html"
>errno</A
> - Retorna a mensagem de erro pela última função do comando</P
></LI
><LI
><P
><A
HREF="function.mysqli-stmt-param-count.html"
>param_count</A
> - Retorna o número de parâmetros para o comando preparado</P
></LI
><LI
><P
><A
HREF="function.mysqli-stmt-sqlstate.html"
>sqlstate</A
> - Retorna uma string contendo o código de erro SQLSTATE pela última função do comando</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="mysqli.classes.result"
><B
CLASS="classname"
>mysqli_result</B
></A
></H2
><P
>&#13;      Representa o conjunto de resultados da consulta feit ao banco de dados.
     </P
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="mysqli.class.result.methods"
>Métodos</A
></H3
><P
></P
><UL
><LI
><P
><A
HREF="function.mysqli-free-result.html"
>close</A
> - fecha o conjunto de resultados</P
></LI
><LI
><P
><A
HREF="function.mysqli-data-seek.html"
>data_seek</A
> - move o ponteiro interno dos resultados</P
></LI
><LI
><P
><A
HREF="function.mysqli-fetch-field.html"
>fetch_field</A
> - retorna informação sobre uma coluna do conjunto de resulatdos</P
></LI
><LI
><P
><A
HREF="function.mysqli-fetch-fields.html"
>fetch_fields</A
> - retorna informação sobre todas as colunas do conjunto de resultados</P
></LI
><LI
><P
><A
HREF="function.mysqli-fetch-field-direct.html"
>fetch_field_direct</A
> - retorna informação da coluna especificada</P
></LI
><LI
><P
><A
HREF="function.mysqli-fetch-array.html"
>fetch_array</A
> - retorna uma linha em uma matriz associativa, uma matriz numérica, ou ambas.</P
></LI
><LI
><P
><A
HREF="function.mysqli-fetch-assoc.html"
>fetch_assoc</A
> - retorna uma linha do resultado como uma matriz associativa</P
></LI
><LI
><P
><A
HREF="function.mysqli-fetch-object.html"
>fetch_object</A
> - retorna uma linha do resultado como um objeto</P
></LI
><LI
><P
><A
HREF="function.mysqli-fetch-row.html"
>fetch_row</A
> - retorna uma linha do resultado como uma matriz numérica</P
></LI
><LI
><P
><A
HREF="function.mysqli-free-result.html"
>close</A
> - libera a memória usada</P
></LI
><LI
><P
><A
HREF="function.mysqli-field-seek.html"
>field_seek</A
> - define o ponteiro do resultado para o índice de campo especificado</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="mysqli.class.result.properties"
>Propriedades</A
></H3
><P
></P
><UL
><LI
><P
><A
HREF="function.mysqli-field-tell.html"
>current_field</A
> - retorna o índice do campo atual</P
></LI
><LI
><P
><A
HREF="function.mysqli-field-count.html"
>field_count</A
> - retorna o número de campos do conjunto de resultados</P
></LI
><LI
><P
><A
HREF="function.mysqli-fetch-lengths.html"
>lengths</A
> - retorna uma matriz com os tamanhos das colunas</P
></LI
><LI
><P
><A
HREF="function.mysqli-num-rows.html"
>num_rows</A
> - retorna o número de linhas em um conjunto de resultados</P
></LI
></UL
></DIV
></DIV
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="mysqli.constants"
>Constantes pré-definidas</A
></H1
><DIV
CLASS="table"
><A
NAME="AEN132527"
></A
><P
><B
>Tabela 2. Constantes MySQLi</B
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><COL><COL><THEAD
><TR
><TH
>Nome</TH
><TH
>Descrição</TH
></TR
></THEAD
><TBODY
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_READ_DEFAULT_GROUP</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       Lê opções do grupo especificado apartir do arquivo `my.cnf' ou do arquivo especificado por <TT
CLASS="literal"
>MYSQLI_READ_DEFAULT_FILE</TT
>
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_READ_DEFAULT_FILE</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       Lê opções apartir do arquivo indicado ao invés de <TT
CLASS="literal"
>my.cnf</TT
>
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_OPT_CONNECT_TIMEOUT</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       Limite de tempo para conectar em segundos
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_OPT_LOCAL_INFILE</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       Ativa o comando <TT
CLASS="literal"
>LOAD LOCAL INFILE</TT
>
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_INIT_COMMAND</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       Comando para executar ao conectar no servidor MySQL. Será automaticamente executado novamente ao reconectar.
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_CLIENT_SSL</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       Usar SSL (protocolo criptografado). Esta opção não deve ser definida por programas aplicativos;
       ela é definida internamente na biblioteca de cliente MySQL
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_CLIENT_COMPRESS</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       Usar o protocolo de compressão
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_CLIENT_INTERACTIVE</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       Permite interactive_timeout segundos (ao invés de wait_timeout segundo) de inatividade antes de fechar a conexão. A variável de sessão do cliente wait_timeout variable será definida com o valor da variável interactive_timeout. 
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_CLIENT_IGNORE_SPACE</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       Permite espaçoes após os nomes de função. Torna todos os nomes de função palavras reservadas. 
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_CLIENT_NO_SCHEMA</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       Não permite a sintaxe nome_bancodados.nome_tabela.nome_coluna
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_CLIENT_MULTI_QUERIES</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&nbsp;</TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_STORE_RESULT</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       Para usar conjuntos de resultados guardados em buffer
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_USE_RESULT</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       Para usar conjuntos de resultados não guardados em buffer
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_ASSOC</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       As colunas são retornadas em uma matriz tendo o nome dos campos como indices da matriz.
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_NUM</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       As colunas são retornadas em uma matriz tendo os índices numerados.
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_BOTH</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       As colunas são retornadas em uma matriz tendo ambos os índices, numérico e o nome do campo como índice associativo.
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_NOT_NULL_FLAG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;      Indica que um campo é definido como <TT
CLASS="literal"
>NOT NULL</TT
>
     </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_PRI_KEY_FLAG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       O campo é parte do índice primário
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_UNIQUE_KEY_FLAG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;       O campo é parte de um índice único.
      </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_MULTIPLE_KEY_FLAG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>&#13;      O campo é parte de um índice.
     </TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_BLOB_FLAG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>BLOB</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_UNSIGNED_FLAG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>UNSIGNED</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_ZEROFILL_FLAG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>ZEROFILL</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_AUTO_INCREMENT_FLAG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>AUTO_INCREMENT</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TIMESTAMP_FLAG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>TIMESTAMP</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_SET_FLAG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>SET</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_NUM_FLAG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>NUMERIC</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_PART_KEY_FLAG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é parte de um índice múltiplo</TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_GROUP_FLAG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é parte de <TT
CLASS="literal"
>GROUP BY</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_DECIMAL</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>DECIMAL</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_TINY</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>TINYINT</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_SHORT</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>INT</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_LONG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>INT</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_FLOAT</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>FLOAT</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_DOUBLE</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>DOUBLE</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_NULL</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>DEFAULT NULL</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_TIMESTAMP</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>TIMESTAMP</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_LONGLONG</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>BIGINT</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_INT24</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>MEDIUMINT</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_DATE</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>DATE</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_TIME</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>TIME</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_DATETIME</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>DATETIME</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_YEAR</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>YEAR</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_NEWDATE</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>DATE</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_ENUM</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>ENUM</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_SET</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>Field is defined as <TT
CLASS="literal"
>SET</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_TINY_BLOB</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>Field is defined as <TT
CLASS="literal"
>TINYBLOB</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_MEDIUM_BLOB</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>MEDIUMBLOB</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_LONG_BLOB</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>LONGBLOB</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_BLOB</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>BLOB</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_STRING</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>VARCHAR</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_CHAR</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>CHAR</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_TYPE_GEOMETRY</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>O campo é definido como <TT
CLASS="literal"
>GEOMETRY</TT
></TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_NEED_DATA</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>More data available for bind variable</TD
></TR
><TR
><TD
>&#13;       <TT
CLASS="constant"
><B
>MYSQLI_NO_DATA</B
></TT
>
       (<A
HREF="language.types.integer.html"
>integer</A
>)
      </TD
><TD
>No more data available for bind variable</TD
></TR
></TBODY
></TABLE
></DIV
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="AEN132846"
>Exemplos</A
></H1
><P
>&#13;     Todos os exemplos na documentação MySQLI usam o banco de dados world da MySQL AB.
     O banco de dados world pode ser encontrado em <A
HREF="http://dev.mysql.com/get/Downloads/Manual/world.sql.gz/from/pick"
TARGET="_top"
>http://dev.mysql.com/get/Downloads/Manual/world.sql.gz/from/pick</A
>
    </P
></DIV
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Índice</B
></DT
><DT
><A
HREF="function.mysqli-affected-rows.html"
>mysqli_affected_rows</A
>&nbsp;--&nbsp;Retorna o número de linhas afetadas pela operação MySQL anterior</DT
><DT
><A
HREF="function.mysqli-autocommit.html"
>mysqli_autocommit</A
>&nbsp;--&nbsp;Ativa ou desativa o salvar automaticamente as modificações no banco de dados</DT
><DT
><A
HREF="function.mysqli-bind-param.html"
>mysqli_bind_param</A
>&nbsp;--&nbsp;Apelido para <A
HREF="function.mysqli-stmt-bind-param.html"
><B
CLASS="function"
>mysqli_stmt_bind_param()</B
></A
></DT
><DT
><A
HREF="function.mysqli-bind-result.html"
>mysqli_bind_result</A
>&nbsp;--&nbsp;Apelido para <A
HREF="function.mysqli-stmt-bind-result.html"
><B
CLASS="function"
>mysqli_stmt_bind_result()</B
></A
></DT
><DT
><A
HREF="function.mysqli-change-user.html"
>mysqli_change_user</A
>&nbsp;--&nbsp;Modifica o usuário para a conexão com o banco de dados especificada</DT
><DT
><A
HREF="function.mysqli-character-set-name.html"
>mysqli_character_set_name</A
>&nbsp;--&nbsp;Retorna o conjunto de caracteres padrão para a conexão com o banco de dados</DT
><DT
><A
HREF="function.mysqli-client-encoding.html"
>mysqli_client_encoding</A
>&nbsp;--&nbsp;Apelido para <A
HREF="function.mysqli-character-set-name.html"
><B
CLASS="function"
>mysqli_character_set_name()</B
></A
></DT
><DT
><A
HREF="function.mysqli-close.html"
>mysqli_close</A
>&nbsp;--&nbsp;Fecha uma conexão aberta anteriormente com o banco de dados</DT
><DT
><A
HREF="function.mysqli-commit.html"
>mysqli_commit</A
>&nbsp;--&nbsp;Salva a transação atual</DT
><DT
><A
HREF="function.mysqli-connect-errno.html"
>mysqli_connect_errno</A
>&nbsp;--&nbsp;Retorna o código de erro da ultima chamada a função connect</DT
><DT
><A
HREF="function.mysqli-connect-error.html"
>mysqli_connect_error</A
>&nbsp;--&nbsp;Retorna uma string descrevendo o ultimo erro da função connect</DT
><DT
><A
HREF="function.mysqli-connect.html"
>mysqli_connect</A
>&nbsp;--&nbsp;Abre uma nova conexão com o servidor MySQL</DT
><DT
><A
HREF="function.mysqli-data-seek.html"
>mysqli_data_seek</A
>&nbsp;--&nbsp;Ajusta o ponteiro do resultado para uma linha arbritaria no conjunto de resutados</DT
><DT
><A
HREF="function.mysqli-debug.html"
>mysqli_debug</A
>&nbsp;--&nbsp;Realiza operações de debug</DT
><DT
><A
HREF="function.mysqli-disable-reads-from-master.html"
>mysqli_disable_reads_from_master</A
>&nbsp;--&nbsp;</DT
><DT
><A
HREF="function.mysqli-disable-rpl-parse.html"
>mysqli_disable_rpl_parse</A
>&nbsp;--&nbsp;</DT
><DT
><A
HREF="function.mysqli-dump-debug-info.html"
>mysqli_dump_debug_info</A
>&nbsp;--&nbsp;Descarrega informação de debug no log</DT
><DT
><A
HREF="function.mysqli-embedded-server-end.html"
>mysqli_embedded_server_end</A
>&nbsp;--&nbsp;</DT
><DT
><A
HREF="function.mysqli-embedded-server-start.html"
>mysqli_embedded_server_start</A
>&nbsp;--&nbsp;</DT
><DT
><A
HREF="function.mysqli-enable-reads-from-master.html"
>mysqli_enable_reads_from_master</A
>&nbsp;--&nbsp;</DT
><DT
><A
HREF="function.mysqli-enable-rpl-parse.html"
>mysqli_enable_rpl_parse</A
>&nbsp;--&nbsp;</DT
><DT
><A
HREF="function.mysqli-errno.html"
>mysqli_errno</A
>&nbsp;--&nbsp;Retorna o código de erro para a chamada de função mais recente</DT
><DT
><A
HREF="function.mysqli-error.html"
>mysqli_error</A
>&nbsp;--&nbsp;Retorna uma string descrevendo o ultimo erro</DT
><DT
><A
HREF="function.mysqli-escape-string.html"
>mysqli_escape_string</A
>&nbsp;--&nbsp;Apelido para <A
HREF="function.mysqli-real-escape-string.html"
><B
CLASS="function"
>mysqli_real_escape_string()</B
></A
></DT
><DT
><A
HREF="function.mysqli-execute.html"
>mysqli_execute</A
>&nbsp;--&nbsp;Apelido para <A
HREF="function.mysqli-stmt-execute.html"
><B
CLASS="function"
>mysqli_stmt_execute()</B
></A
></DT
><DT
><A
HREF="function.mysqli-fetch-array.html"
>mysqli_fetch_array</A
>&nbsp;--&nbsp;Obtem uma linha do resultado como uma matriz associativa, numérica, ou ambas</DT
><DT
><A
HREF="function.mysqli-fetch-assoc.html"
>mysqli_fetch_assoc</A
>&nbsp;--&nbsp;Obtem uma linha do conjunto de resultados como uma matriz associativa</DT
><DT
><A
HREF="function.mysqli-fetch-field-direct.html"
>mysqli_fetch_field_direct</A
>&nbsp;--&nbsp;
     Obtem meta dados para um único campo
    </DT
><DT
><A
HREF="function.mysqli-fetch-field.html"
>mysqli_fetch_field</A
>&nbsp;--&nbsp;Retorna o próximo campo no conjunto de resultados</DT
><DT
><A
HREF="function.mysqli-fetch-fields.html"
>mysqli_fetch_fields</A
>&nbsp;--&nbsp;Retorna uma matriz de objetos representando os campos em um conjunto de resultados</DT
><DT
><A
HREF="function.mysqli-fetch-lengths.html"
>mysqli_fetch_lengths</A
>&nbsp;--&nbsp;Retorna os tamanhos das colunas na linha atual no conjunto de resultados</DT
><DT
><A
HREF="function.mysqli-fetch-object.html"
>mysqli_fetch_object</A
>&nbsp;--&nbsp;Retorna a linha atual do conjunto de resultados como um objeto</DT
><DT
><A
HREF="function.mysqli-fetch-row.html"
>mysqli_fetch_row</A
>&nbsp;--&nbsp;Obtém uma linha do resultado como uma matriz numerada</DT
><DT
><A
HREF="function.mysqli-fetch.html"
>mysqli_fetch</A
>&nbsp;--&nbsp;Apelido para <A
HREF="function.mysqli-stmt-fetch.html"
><B
CLASS="function"
>mysqli_stmt_fetch()</B
></A
></DT
><DT
><A
HREF="function.mysqli-field-count.html"
>mysqli_field_count</A
>&nbsp;--&nbsp;Retorna o número de colunas para a consulta mais recente</DT
><DT
><A
HREF="function.mysqli-field-seek.html"
>mysqli_field_seek</A
>&nbsp;--&nbsp;
     Move o ponteiro do resultado para um campo especificado
    </DT
><DT
><A
HREF="function.mysqli-field-tell.html"
>mysqli_field_tell</A
>&nbsp;--&nbsp;
     Obtém o índice do campo de um ponteiro de resultado
    </DT
><DT
><A
HREF="function.mysqli-free-result.html"
>mysqli_free_result</A
>&nbsp;--&nbsp;Libera a memória associada ao resultado</DT
><DT
><A
HREF="function.mysqli-get-charset.html"
>mysqli_get_charset</A
>&nbsp;--&nbsp;Returns a character set object</DT
><DT
><A
HREF="function.mysqli-get-client-info.html"
>mysqli_get_client_info</A
>&nbsp;--&nbsp;Retorna a versão do cliente MySQL como uma string</DT
><DT
><A
HREF="function.mysqli-get-client-version.html"
>mysqli_get_client_version</A
>&nbsp;--&nbsp;Obtém informação sobre o cliente MySQL</DT
><DT
><A
HREF="function.mysqli-get-host-info.html"
>mysqli_get_host_info</A
>&nbsp;--&nbsp;Retorna uma string representando o tipo da conexão usada</DT
><DT
><A
HREF="function.mysqli-get-metadata.html"
>mysqli_get_metadata</A
>&nbsp;--&nbsp;Apelido para <A
HREF="function.mysqli-stmt-result-metadata.html"
><B
CLASS="function"
>mysqli_stmt_result_metadata()</B
></A
></DT
><DT
><A
HREF="function.mysqli-get-proto-info.html"
>mysqli_get_proto_info</A
>&nbsp;--&nbsp;Retorna a versão do protocolo MySQL usada</DT
><DT
><A
HREF="function.mysqli-get-server-info.html"
>mysqli_get_server_info</A
>&nbsp;--&nbsp;Retorna a versão do servidor MySQL</DT
><DT
><A
HREF="function.mysqli-get-server-version.html"
>mysqli_get_server_version</A
>&nbsp;--&nbsp;Retorna a versão do servidor MySQL como um integer</DT
><DT
><A
HREF="function.mysqli-get-warnings.html"
>mysqli_get_warnings</A
>&nbsp;--&nbsp;</DT
><DT
><A
HREF="function.mysqli-info.html"
>mysqli_info</A
>&nbsp;--&nbsp;Obtém informação sobre a consulta executada mais recentemente</DT
><DT
><A
HREF="function.mysqli-init.html"
>mysqli_init</A
>&nbsp;--&nbsp;
     Inicializa a MySQLi e tetorna um objeto para usar com mysqli_real_connect
    </DT
><DT
><A
HREF="function.mysqli-insert-id.html"
>mysqli_insert_id</A
>&nbsp;--&nbsp;Retorna o id gerado automaticamente na última consulta</DT
><DT
><A
HREF="function.mysqli-kill.html"
>mysqli_kill</A
>&nbsp;--&nbsp;Diz ao servidor para matar uma thread MySQL</DT
><DT
><A
HREF="function.mysqli-master-query.html"
>mysqli_master_query</A
>&nbsp;--&nbsp;Força a execução de uma consulta no master em uma configuração master/slave</DT
><DT
><A
HREF="function.mysqli-more-results.html"
>mysqli_more_results</A
>&nbsp;--&nbsp;Confere se existem mais resultados de consultas em uma consulta múltipla</DT
><DT
><A
HREF="function.mysqli-multi-query.html"
>mysqli_multi_query</A
>&nbsp;--&nbsp;Executa uma consulta no banco de dados</DT
><DT
><A
HREF="function.mysqli-next-result.html"
>mysqli_next_result</A
>&nbsp;--&nbsp;Preepara o próximo resultado de uma consulta múltipla</DT
><DT
><A
HREF="function.mysqli-num-fields.html"
>mysqli_num_fields</A
>&nbsp;--&nbsp;
     Obtém o número de campos em um resultado
    </DT
><DT
><A
HREF="function.mysqli-num-rows.html"
>mysqli_num_rows</A
>&nbsp;--&nbsp;Gets the number of rows in a result</DT
><DT
><A
HREF="function.mysqli-options.html"
>mysqli_options</A
>&nbsp;--&nbsp;Set options</DT
><DT
><A
HREF="function.mysqli-param-count.html"
>mysqli_param_count</A
>&nbsp;--&nbsp;Alias for <A
HREF="function.mysqli-stmt-param-count.html"
><B
CLASS="function"
>mysqli_stmt_param_count()</B
></A
></DT
><DT
><A
HREF="function.mysqli-ping.html"
>mysqli_ping</A
>&nbsp;--&nbsp;Pings a server connection, or tries to reconnect if the connection has gone down</DT
><DT
><A
HREF="function.mysqli-prepare.html"
>mysqli_prepare</A
>&nbsp;--&nbsp;Prepare a SQL statement for execution</DT
><DT
><A
HREF="function.mysqli-query.html"
>mysqli_query</A
>&nbsp;--&nbsp;Performs a query on the database</DT
><DT
><A
HREF="function.mysqli-real-connect.html"
>mysqli_real_connect</A
>&nbsp;--&nbsp;Opens a connection to a mysql server</DT
><DT
><A
HREF="function.mysqli-real-escape-string.html"
>mysqli_real_escape_string</A
>&nbsp;--&nbsp;Escapes special characters in a string for use in a SQL statement, taking into account the current charset of the connection</DT
><DT
><A
HREF="function.mysqli-real-query.html"
>mysqli_real_query</A
>&nbsp;--&nbsp;Execute an SQL query</DT
><DT
><A
HREF="function.mysqli-report.html"
>mysqli_report</A
>&nbsp;--&nbsp;Enables or disables internal report functions</DT
><DT
><A
HREF="function.mysqli-rollback.html"
>mysqli_rollback</A
>&nbsp;--&nbsp;Rolls back current transaction</DT
><DT
><A
HREF="function.mysqli-rpl-parse-enabled.html"
>mysqli_rpl_parse_enabled</A
>&nbsp;--&nbsp;Check if RPL parse is enabled</DT
><DT
><A
HREF="function.mysqli-rpl-probe.html"
>mysqli_rpl_probe</A
>&nbsp;--&nbsp;RPL probe</DT
><DT
><A
HREF="function.mysqli-rpl-query-type.html"
>mysqli_rpl_query_type</A
>&nbsp;--&nbsp;Returns RPL query type</DT
><DT
><A
HREF="function.mysqli-select-db.html"
>mysqli_select_db</A
>&nbsp;--&nbsp;Selects the default database for database queries</DT
><DT
><A
HREF="function.mysqli-send-long-data.html"
>mysqli_send_long_data</A
>&nbsp;--&nbsp;Alias for <A
HREF="function.mysqli-stmt-send-long-data.html"
><B
CLASS="function"
>mysqli_stmt_send_long_data()</B
></A
></DT
><DT
><A
HREF="function.mysqli-send-query.html"
>mysqli_send_query</A
>&nbsp;--&nbsp;Send the query and return</DT
><DT
><A
HREF="function.mysqli-server-end.html"
>mysqli_server_end</A
>&nbsp;--&nbsp;Shut down the embedded server</DT
><DT
><A
HREF="function.mysqli-server-init.html"
>mysqli_server_init</A
>&nbsp;--&nbsp;Initialize embedded server</DT
><DT
><A
HREF="function.mysqli-set-charset.html"
>mysqli_set_charset</A
>&nbsp;--&nbsp;Sets the default client character set</DT
><DT
><A
HREF="function.mysqli-set-local-infile-default.html"
>mysqli_set_local_infile_default</A
>&nbsp;--&nbsp;Unsets user defined handler for load local infile command</DT
><DT
><A
HREF="function.mysqli-set-local-infile-handler.html"
>mysqli_set_local_infile_handler</A
>&nbsp;--&nbsp;Set callback functions for LOAD DATA LOCAL INFILE command</DT
><DT
><A
HREF="function.mysqli-set-opt.html"
>mysqli_set_opt</A
>&nbsp;--&nbsp;Alias of <A
HREF="function.mysqli-options.html"
><B
CLASS="function"
>mysqli_options()</B
></A
></DT
><DT
><A
HREF="function.mysqli-slave-query.html"
>mysqli_slave_query</A
>&nbsp;--&nbsp;Force execution of a query on a slave in a master/slave setup</DT
><DT
><A
HREF="function.mysqli-sqlstate.html"
>mysqli_sqlstate</A
>&nbsp;--&nbsp;Returns the SQLSTATE error from previous MySQL operation</DT
><DT
><A
HREF="function.mysqli-ssl-set.html"
>mysqli_ssl_set</A
>&nbsp;--&nbsp;Used for establishing secure connections using SSL</DT
><DT
><A
HREF="function.mysqli-stat.html"
>mysqli_stat</A
>&nbsp;--&nbsp;Gets the current system status</DT
><DT
><A
HREF="function.mysqli-stmt-affected-rows.html"
>mysqli_stmt_affected_rows</A
>&nbsp;--&nbsp;Returns the total number of rows changed, deleted, or
  inserted by the last executed statement
  </DT
><DT
><A
HREF="function.mysqli-stmt-attr-get.html"
>mysqli_stmt_attr_get</A
>&nbsp;--&nbsp;</DT
><DT
><A
HREF="function.mysqli-stmt-attr-set.html"
>mysqli_stmt_attr_set</A
>&nbsp;--&nbsp;</DT
><DT
><A
HREF="function.mysqli-stmt-bind-param.html"
>mysqli_stmt_bind_param</A
>&nbsp;--&nbsp;Binds variables to a prepared statement as parameters</DT
><DT
><A
HREF="function.mysqli-stmt-bind-result.html"
>mysqli_stmt_bind_result</A
>&nbsp;--&nbsp;Binds variables to a prepared statement for result storage</DT
><DT
><A
HREF="function.mysqli-stmt-close.html"
>mysqli_stmt_close</A
>&nbsp;--&nbsp;Closes a prepared statement</DT
><DT
><A
HREF="function.mysqli-stmt-data-seek.html"
>mysqli_stmt_data_seek</A
>&nbsp;--&nbsp;Seeks to an arbitray row in statement result set</DT
><DT
><A
HREF="function.mysqli-stmt-errno.html"
>mysqli_stmt_errno</A
>&nbsp;--&nbsp;Returns the error code for the most recent statement call</DT
><DT
><A
HREF="function.mysqli-stmt-error.html"
>mysqli_stmt_error</A
>&nbsp;--&nbsp;Returns a string description for last statement error</DT
><DT
><A
HREF="function.mysqli-stmt-execute.html"
>mysqli_stmt_execute</A
>&nbsp;--&nbsp;Executes a prepared Query</DT
><DT
><A
HREF="function.mysqli-stmt-fetch.html"
>mysqli_stmt_fetch</A
>&nbsp;--&nbsp;Fetch results from a prepared statement into the bound variables</DT
><DT
><A
HREF="function.mysqli-stmt-field-count.html"
>mysqli_stmt_field_count</A
>&nbsp;--&nbsp;Returns the number of field in the given statement</DT
><DT
><A
HREF="function.mysqli-stmt-free-result.html"
>mysqli_stmt_free_result</A
>&nbsp;--&nbsp;Frees stored result memory for the given statement handle</DT
><DT
><A
HREF="function.mysqli-stmt-get-warnings.html"
>mysqli_stmt_get_warnings</A
>&nbsp;--&nbsp;</DT
><DT
><A
HREF="function.mysqli-stmt-init.html"
>mysqli_stmt_init</A
>&nbsp;--&nbsp;Initializes a statement and returns an object for use with mysqli_stmt_prepare</DT
><DT
><A
HREF="function.mysqli-stmt-insert-id.html"
>mysqli_stmt_insert_id</A
>&nbsp;--&nbsp;Get the ID generated from the previous INSERT operation</DT
><DT
><A
HREF="function.mysqli-stmt-num-rows.html"
>mysqli_stmt_num_rows</A
>&nbsp;--&nbsp;Return the number of rows in statements result set</DT
><DT
><A
HREF="function.mysqli-stmt-param-count.html"
>mysqli_stmt_param_count</A
>&nbsp;--&nbsp;Returns the number of parameter for the given statement</DT
><DT
><A
HREF="function.mysqli-stmt-prepare.html"
>mysqli_stmt_prepare</A
>&nbsp;--&nbsp;Prepare a SQL statement for execution</DT
><DT
><A
HREF="function.mysqli-stmt-reset.html"
>mysqli_stmt_reset</A
>&nbsp;--&nbsp;Resets a prepared statement</DT
><DT
><A
HREF="function.mysqli-stmt-result-metadata.html"
>mysqli_stmt_result_metadata</A
>&nbsp;--&nbsp;Returns result set metadata from a prepared statement</DT
><DT
><A
HREF="function.mysqli-stmt-send-long-data.html"
>mysqli_stmt_send_long_data</A
>&nbsp;--&nbsp;Send data in blocks</DT
><DT
><A
HREF="function.mysqli-stmt-sqlstate.html"
>mysqli_stmt_sqlstate</A
>&nbsp;--&nbsp;Returns SQLSTATE error from previous statement operation</DT
><DT
><A
HREF="function.mysqli-stmt-store-result.html"
>mysqli_stmt_store_result</A
>&nbsp;--&nbsp;Transfers a result set from a prepared statement</DT
><DT
><A
HREF="function.mysqli-store-result.html"
>mysqli_store_result</A
>&nbsp;--&nbsp;Transfers a result set from the last query</DT
><DT
><A
HREF="function.mysqli-thread-id.html"
>mysqli_thread_id</A
>&nbsp;--&nbsp;Returns the thread ID for the current connection</DT
><DT
><A
HREF="function.mysqli-thread-safe.html"
>mysqli_thread_safe</A
>&nbsp;--&nbsp;Returns whether thread safety is given or not</DT
><DT
><A
HREF="function.mysqli-use-result.html"
>mysqli_use_result</A
>&nbsp;--&nbsp;Initiate a result set retrieval</DT
><DT
><A
HREF="function.mysqli-warning-count.html"
>mysqli_warning_count</A
>&nbsp;--&nbsp;Returns the number of warnings from the last query for the given link</DT
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="ref.pdo-mysql.connection.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Principal</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.mysqli-affected-rows.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>PDO_MYSQL DSN</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="U"
>Acima</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>mysqli_affected_rows</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>