summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_nonapi.c
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2003-03-15 22:51:49 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2003-03-15 22:51:49 +0000
commite6633a9611b732cf6795009d00a547978f96c268 (patch)
tree6c463dcaf94f3caa37e1f451dde3177e862ab798 /ext/mysqli/mysqli_nonapi.c
parent4cb4676ac9c6e1c42bfb3ed9d4da173f1c083534 (diff)
downloadphp-git-e6633a9611b732cf6795009d00a547978f96c268.tar.gz
lots of proto stuff
Diffstat (limited to 'ext/mysqli/mysqli_nonapi.c')
-rw-r--r--ext/mysqli/mysqli_nonapi.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/mysqli/mysqli_nonapi.c b/ext/mysqli/mysqli_nonapi.c
index e87614acf3..6cfbac1639 100644
--- a/ext/mysqli/mysqli_nonapi.c
+++ b/ext/mysqli/mysqli_nonapi.c
@@ -29,8 +29,8 @@
#include "ext/standard/info.h"
#include "php_mysqli.h"
-/* {{{ proto resource mysqli_connect([string hostname, [string username, [string passwd, [string dbname, [int port, [string socket]]]]])
- open a connection to a mysql server */
+/* {{{ proto resource mysqli_connect([string hostname [,string username [,string passwd [,string dbname [,int port [,string socket]]]]]])
+ Open a connection to a mysql server */
PHP_FUNCTION(mysqli_connect)
{
MYSQL *mysql;
@@ -99,8 +99,8 @@ PHP_FUNCTION(mysqli_connect)
}
/* }}} */
-/* {{{ proto array mysqli_fetch_array (resource result, [int resulttype])
-*/
+/* {{{ proto array mysqli_fetch_array (resource result [,int resulttype])
+ Fetch a result row as an associative array, a numeric array, or both */
PHP_FUNCTION(mysqli_fetch_array)
{
php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
@@ -108,7 +108,7 @@ PHP_FUNCTION(mysqli_fetch_array)
/* }}} */
/* {{{ proto array mysqli_fetch_assoc (resource result)
-*/
+ Fetch a result row as an associative array */
PHP_FUNCTION(mysqli_fetch_assoc)
{
php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MYSQLI_ASSOC);
@@ -116,7 +116,7 @@ PHP_FUNCTION(mysqli_fetch_assoc)
/* }}} */
/* {{{ proto array mysqli_fetch_object (resource result)
-*/
+ Fetch a result row as an object */
PHP_FUNCTION(mysqli_fetch_object)
{
php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MYSQLI_ASSOC);
@@ -127,8 +127,8 @@ PHP_FUNCTION(mysqli_fetch_object)
}
/* }}} */
-/* {{{ proto resource mysqli_query(resource link, string query, [int resultmode])
-*/
+/* {{{ proto resource mysqli_query(resource link, string query [,int resultmode])
+ Send a MySQL query */
PHP_FUNCTION(mysqli_query) {
MYSQL *mysql;
zval *mysql_link;