diff --git a/functions/msql.xml b/functions/msql.xml
index 299a344171..9b7937e71d 100644
--- a/functions/msql.xml
+++ b/functions/msql.xml
@@ -87,7 +87,7 @@
Returns true on success, false on error.
- Msql_close closes the link to a mSQL
+ msql_close closes the link to a mSQL
database that's associated with the specified link identifier.
If the link identifier isn't specified, the last opened link is
assumed.
@@ -118,7 +118,26 @@
int msql_connect
- string hostname
+ string
+
+ hostname
+
+
+ string
+
+ hostname:port
+
+
+ string
+
+ username
+
+
+ string
+
+ password
+
+
@@ -126,7 +145,7 @@
error.
- Msql_connect establishes a connection to a
+ msql_connect establishes a connection to a
mSQL server. The hostname argument is optional, and if it's
missing, localhost is assumed.
@@ -213,7 +232,7 @@
Returns true on success, false on failure.
- Msql_data_seek moves the internal row
+ msql_data_seek moves the internal row
pointer of the mSQL result associated with the specified query
identifier to pointer to the specifyed row number. The next call
to msql_fetch_row would return that
@@ -240,7 +259,7 @@
- Msql_dbname returns the database name stored
+ msql_dbname returns the database name stored
in position i of the result pointer
returned from the msql_listdbs function. The
msql_numrows function can be used to
@@ -267,7 +286,7 @@
Returns true on success, false on failure.
- Msql_drop_db attempts to drop (remove) an
+ msql_drop_db attempts to drop (remove) an
entire database from the server associated with the specified
link identifier.
@@ -378,7 +397,7 @@
Returns an object containing field information
- Msql_fetch_field can be used in order to
+ msql_fetch_field can be used in order to
obtain information about fields in a certain query result. If
the field offset isn't specified, the next field that wasn't yet
retreived by msql_fetch_field is retreived.
@@ -487,7 +506,7 @@
there are no more rows.
- Msql_fetch_row fetches one row of data from
+ msql_fetch_row fetches one row of data from
the result associated with the specified query identifier. The
row is returned as an array. Each result column is stored in an
array offset, starting at offset 0.
@@ -521,7 +540,7 @@
- Msql_fieldname returns the name of the
+ msql_fieldname returns the name of the
specified field. query_identifier is the
query identifier, and field is the field
index. msql_fieldname($result, 2); will
@@ -592,7 +611,7 @@
- Msql_fieldtype is similar to the
+ msql_fieldtype is similar to the
msql_fieldname function. The arguments are
identical, but the field type is returned. This will be one of
"int", "string" or "real".
@@ -637,7 +656,7 @@
- Msql_fieldlen returns the length of the
+ msql_fieldlen returns the length of the
specified field.
@@ -657,7 +676,7 @@
- Msql_free_result frees the memory associated
+ msql_free_result frees the memory associated
with query_identifier. When PHP completes a
request, this memory is freed automatically, so you only need to
call this function when you want to make sure you don't use too
@@ -693,7 +712,7 @@
- Msql_list_fields retrieves information about
+ msql_list_fields retrieves information about
the given tablename. Arguments are the database name and the
table name. A result pointer is returned which can be used with
msql_fieldflags,
@@ -774,7 +793,7 @@
- Msql_list_tables takes a database name and
+ msql_list_tables takes a database name and
result pointer much like the msql
function. The msql_tablename function should
be used to extract the actual table names from the result
@@ -810,7 +829,7 @@
- Msql_num_fields returns the number of fields
+ msql_num_fields returns the number of fields
in a result set.
@@ -895,7 +914,26 @@
int msql_pconnect
- string hostname
+ string
+
+ hostname
+
+
+ string
+
+ hostname:port
+
+
+ string
+
+ username
+
+
+ string
+
+ password
+
+
@@ -903,7 +941,7 @@
false on error.
- Msql_pconnect acts very much like
+ msql_pconnect acts very much like
msql_connect with two major differences.
@@ -939,7 +977,7 @@
- Msql_query sends a query to the currently
+ msql_query sends a query to the currently
active database on the server that's associated with the
specified link identifier. If the link identifier isn't
specified, the last opened link is assumed. If no link is open,
@@ -992,7 +1030,7 @@
specified mSQL result set.
- Msql_result returns the contents of one cell
+ msql_result returns the contents of one cell
from a mSQL result set. The field argument can be the field's
offset, or the field's name, or the field's table dot field's
name (fieldname.tablename). If the column name has been aliased
@@ -1035,7 +1073,7 @@
Returns true on success, false on error.
- Msql_select_db sets the current active
+ msql_select_db sets the current active
database on the server that's associated with the specified link
identifier. If no link identifier is specified, the last opened
link is assumed. If no link is open, the function will try to
@@ -1081,13 +1119,13 @@
- Msql_tablename takes a result pointer
+ msql_tablename takes a result pointer
returned by the msql_list_tables function as
well as an integer index and returns the name of a table. The
msql_numrows function may be used to
determine the number of tables in the result pointer.
- Msql_tablename example
+ msql_tablename example
<?php
msql_connect ("localhost");