<HTML ><HEAD ><TITLE >MySQL functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK REL="HOME" TITLE="PHP Manual" HREF="manual.html"><LINK REL="UP" TITLE="Function Reference" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="msql_tablename" HREF="function.msql-tablename.html"><LINK REL="NEXT" TITLE="mysql_affected_rows" HREF="function.mysql-affected-rows.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.msql-tablename.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.mysql-affected-rows.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.mysql" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >XXXIII. MySQL functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN18405" ></A ><P > These functions allow you to access MySQL database servers. </P ><P > More information about MySQL can be found at <A HREF="http://www.mysql.com/" TARGET="_top" >http://www.mysql.com/</A >. </P ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="function.mysql-affected-rows.html" >mysql_affected_rows</A > — Get number of affected rows in previous MySQL operation</DT ><DT ><A HREF="function.mysql-change-user.html" >mysql_change_user</A > — Change logged in user on active connection </DT ><DT ><A HREF="function.mysql-close.html" >mysql_close</A > — close MySQL connection</DT ><DT ><A HREF="function.mysql-connect.html" >mysql_connect</A > — Open a connection to a MySQL Server</DT ><DT ><A HREF="function.mysql-create-db.html" >mysql_create_db</A > — Create a MySQL database</DT ><DT ><A HREF="function.mysql-data-seek.html" >mysql_data_seek</A > — Move internal result pointer</DT ><DT ><A HREF="function.mysql-db-query.html" >mysql_db_query</A > — Send an MySQL query to MySQL</DT ><DT ><A HREF="function.mysql-drop-db.html" >mysql_drop_db</A > — Drop (delete) a MySQL database</DT ><DT ><A HREF="function.mysql-errno.html" >mysql_errno</A > — Returns the number of the error message from previous MySQL operation</DT ><DT ><A HREF="function.mysql-error.html" >mysql_error</A > — Returns the text of the error message from previous MySQL operation</DT ><DT ><A HREF="function.mysql-fetch-array.html" >mysql_fetch_array</A > — Fetch a result row as an associative array </DT ><DT ><A HREF="function.mysql-fetch-field.html" >mysql_fetch_field</A > — Get column information from a result and return as an object </DT ><DT ><A HREF="function.mysql-fetch-lengths.html" >mysql_fetch_lengths</A > — Get the length of each output in a result </DT ><DT ><A HREF="function.mysql-fetch-object.html" >mysql_fetch_object</A > — Fetch a result row as an object</DT ><DT ><A HREF="function.mysql-fetch-row.html" >mysql_fetch_row</A > — Get a result row as an enumerated array</DT ><DT ><A HREF="function.mysql-field-name.html" >mysql_field_name</A > — Get the name of the specified field in a result </DT ><DT ><A HREF="function.mysql-field-seek.html" >mysql_field_seek</A > — Set result pointer to a specified field offset </DT ><DT ><A HREF="function.mysql-field-table.html" >mysql_field_table</A > — Get name of the table the specified field is in </DT ><DT ><A HREF="function.mysql-field-type.html" >mysql_field_type</A > — Get the type of the specified field in a result </DT ><DT ><A HREF="function.mysql-field-flags.html" >mysql_field_flags</A > — Get the flags associated with the specified field in a result </DT ><DT ><A HREF="function.mysql-field-len.html" >mysql_field_len</A > — Returns the length of the specified field </DT ><DT ><A HREF="function.mysql-free-result.html" >mysql_free_result</A > — Free result memory</DT ><DT ><A HREF="function.mysql-insert-id.html" >mysql_insert_id</A > — Get the id generated from the previous INSERT operation </DT ><DT ><A HREF="function.mysql-list-fields.html" >mysql_list_fields</A > — List MySQL result fields</DT ><DT ><A HREF="function.mysql-list-dbs.html" >mysql_list_dbs</A > — List databases available on on MySQL server </DT ><DT ><A HREF="function.mysql-list-tables.html" >mysql_list_tables</A > — List tables in a MySQL database</DT ><DT ><A HREF="function.mysql-num-fields.html" >mysql_num_fields</A > — Get number of fields in result</DT ><DT ><A HREF="function.mysql-num-rows.html" >mysql_num_rows</A > — Get number of rows in result</DT ><DT ><A HREF="function.mysql-pconnect.html" >mysql_pconnect</A > — Open a persistent connection to a MySQL Server </DT ><DT ><A HREF="function.mysql-query.html" >mysql_query</A > — Send an SQL query to MySQL</DT ><DT ><A HREF="function.mysql-result.html" >mysql_result</A > — Get result data</DT ><DT ><A HREF="function.mysql-select-db.html" >mysql_select_db</A > — Select a MySQL database</DT ><DT ><A HREF="function.mysql-tablename.html" >mysql_tablename</A > — Get table name of field</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.msql-tablename.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="manual.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.mysql-affected-rows.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >msql_tablename</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >mysql_affected_rows</TD ></TR ></TABLE ></DIV ></BODY ></HTML >