/* }}} */
/* {{{ proto resource mysql_connect([string hostname[:port][:/path/to/socket]] [, string username] [, string password])
- Open a connection to a MySQL Server */
+ Opens a connection to a MySQL Server */
PHP_FUNCTION(mysql_connect)
{
php_mysql_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
/* }}} */
/* {{{ proto resource mysql_pconnect([string hostname[:port][:/path/to/socket]] [, string username] [, string password])
- Open a persistent connection to a MySQL Server */
+ Opens a persistent connection to a MySQL Server */
PHP_FUNCTION(mysql_pconnect)
{
php_mysql_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
/* }}} */
/* {{{ proto bool mysql_select_db(string database_name [, int link_identifier])
- Select a MySQL database */
+ Selects a MySQL database */
PHP_FUNCTION(mysql_select_db)
{
zval **db, **mysql_link;
/* }}} */
/* {{{ proto bool mysql_drop_db(string database_name [, int link_identifier])
- Drop (delete) a MySQL database */
+ Drops (delete) a MySQL database */
PHP_FUNCTION(mysql_drop_db)
{
zval **db, **mysql_link;
/* }}} */
/* {{{ proto resource mysql_query(string query [, int link_identifier] [, int result_mode])
- Send an SQL query to MySQL */
+ Sends an SQL query to MySQL */
PHP_FUNCTION(mysql_query)
{
php_mysql_do_query(INTERNAL_FUNCTION_PARAM_PASSTHRU, MYSQL_STORE_RESULT);
/* {{{ proto resource mysql_unbuffered_query(string query [, int link_identifier] [, int result_mode])
- Send an SQL query to MySQL, without fetching and buffering the result rows */
+ Sends an SQL query to MySQL, without fetching and buffering the result rows */
PHP_FUNCTION(mysql_unbuffered_query)
{
php_mysql_do_query(INTERNAL_FUNCTION_PARAM_PASSTHRU, MYSQL_USE_RESULT);
/* {{{ proto resource mysql_db_query(string database_name, string query [, int link_identifier])
- Send an SQL query to MySQL */
+ Sends an SQL query to MySQL */
PHP_FUNCTION(mysql_db_query)
{
zval **db, **query, **mysql_link;
/* {{{ proto int mysql_affected_rows([int link_identifier])
- Get number of affected rows in previous MySQL operation */
+ Gets number of affected rows in previous MySQL operation */
PHP_FUNCTION(mysql_affected_rows)
{
zval **mysql_link;
/* {{{ proto int mysql_insert_id([int link_identifier])
- Get the id generated from the previous INSERT operation */
+ Gets the ID generated from the previous INSERT operation */
PHP_FUNCTION(mysql_insert_id)
{
zval **mysql_link;
/* {{{ proto mixed mysql_result(int result, int row [, mixed field])
- Get result data */
+ Gets result data */
PHP_FUNCTION(mysql_result)
{
zval **result, **row, **field=NULL;
/* {{{ proto int mysql_num_rows(int result)
- Get number of rows in a result */
+ Gets number of rows in a result */
PHP_FUNCTION(mysql_num_rows)
{
zval **result;
/* }}} */
/* {{{ proto int mysql_num_fields(int result)
- Get number of fields in a result */
+ Gets number of fields in a result */
PHP_FUNCTION(mysql_num_fields)
{
zval **result;
/* }}} */
/* {{{ proto array mysql_fetch_row(int result)
- Get a result row as an enumerated array */
+ Gets a result row as an enumerated array */
PHP_FUNCTION(mysql_fetch_row)
{
php_mysql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MYSQL_NUM, 1);
/* {{{ proto array mysql_fetch_array(int result [, int result_type])
- Fetch a result row as an array (associative, numeric or both)*/
+ Fetch a result row as an array (associative, numeric or both) */
PHP_FUNCTION(mysql_fetch_array)
{
php_mysql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0, 2);
/* {{{ proto array mysql_fetch_lengths(int result)
- Get max data size of each column in a result */
+ Gets max data size of each column in a result */
PHP_FUNCTION(mysql_fetch_lengths)
{
zval **result;
/* }}} */
/* {{{ proto object mysql_fetch_field(int result [, int field_offset])
- Get column information from a result and return as an object */
+ Gets column information from a result and return as an object */
PHP_FUNCTION(mysql_fetch_field)
{
zval **result, **field=NULL;
/* {{{ proto bool mysql_field_seek(int result, int field_offset)
- Set result pointer to a specific field offset */
+ Sets result pointer to a specific field offset */
PHP_FUNCTION(mysql_field_seek)
{
zval **result, **offset;
/* }}} */
/* {{{ proto string mysql_field_name(int result, int field_index)
- Get the name of the specified field in a result */
+ Gets the name of the specified field in a result */
PHP_FUNCTION(mysql_field_name)
{
php_mysql_field_info(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_MYSQL_FIELD_NAME);
/* {{{ proto string mysql_field_table(int result, int field_offset)
- Get name of the table the specified field is in */
+ Gets name of the table the specified field is in */
PHP_FUNCTION(mysql_field_table)
{
php_mysql_field_info(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_MYSQL_FIELD_TABLE);
/* {{{ proto string mysql_field_type(int result, int field_offset)
- Get the type of the specified field in a result */
+ Gets the type of the specified field in a result */
PHP_FUNCTION(mysql_field_type)
{
php_mysql_field_info(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_MYSQL_FIELD_TYPE);
/* {{{ proto string mysql_field_flags(int result, int field_offset)
- Get the flags associated with the specified field in a result */
+ Gets the flags associated with the specified field in a result */
PHP_FUNCTION(mysql_field_flags)
{
php_mysql_field_info(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_MYSQL_FIELD_FLAGS);