Index: msql-data-seek.xml =================================================================== RCS file: /repository/phpdoc/en/reference/msql/functions/msql-data-seek.xml,v retrieving revision 1.6 diff -u -r1.6 msql-data-seek.xml --- msql-data-seek.xml 2 Mar 2004 10:16:06 -0000 1.6 +++ msql-data-seek.xml 18 Feb 2005 06:06:34 -0000 @@ -25,7 +25,10 @@ See also - msql_fetch_row. + msql_fetch_array, + msql_fetch_object, + msql_fetch_row and + msql_result. Index: msql-fetch-array.xml =================================================================== RCS file: /repository/phpdoc/en/reference/msql/functions/msql-fetch-array.xml,v retrieving revision 1.5 diff -u -r1.5 msql-fetch-array.xml --- msql-fetch-array.xml 2 Mar 2004 10:17:01 -0000 1.5 +++ msql-fetch-array.xml 18 Feb 2005 06:06:34 -0000 @@ -9,8 +9,8 @@ Description - intmsql_fetch_array - intquery_identifier + arraymsql_fetch_array + resourcequery_identifier intresult_type @@ -29,21 +29,55 @@ take the following values: MSQL_ASSOC, MSQL_NUM, and MSQL_BOTH with MSQL_BOTH being the default. - - Be careful if you are retrieving results from a query that may - return a record that contains only one field that has a value of - 0 (or an empty string, or &null;). - An important thing to note is that using msql_fetch_array is NOT significantly slower than using msql_fetch_row, while it provides a significant added value. + + + In PHP versions prior to 4.3.11 and 5.0.4 a bug existed + when retrieving data from columns containing &null; values. + Such columns were not placed into the resulting array. + + + + + <function>msql_fetch_array</function> example + + +]]> + + + See also - msql_fetch_row and - msql_fetch_object. + msql_fetch_row, + msql_fetch_object, + msql_data_seek and + msql_result. Index: msql-fetch-object.xml =================================================================== RCS file: /repository/phpdoc/en/reference/msql/functions/msql-fetch-object.xml,v retrieving revision 1.3 diff -u -r1.3 msql-fetch-object.xml --- msql-fetch-object.xml 2 Mar 2004 10:16:06 -0000 1.3 +++ msql-fetch-object.xml 18 Feb 2005 06:06:34 -0000 @@ -9,8 +9,9 @@ Description - intmsql_fetch_object - intquery_identifier + objectmsql_fetch_object + resourcequery_identifier + intresult_type Returns an object with properties that correspond to the fetched @@ -24,15 +25,59 @@ their offsets (numbers are illegal property names). + The second optional argument result_type + is a constant and can take one of the following values: + MSQL_ASSOC, MSQL_NUM, and MSQL_BOTH with MSQL_BOTH being the default. + + Speed-wise, the function is identical to msql_fetch_array, and almost as quick as msql_fetch_row (the difference is insignificant). + + + In PHP versions prior to 4.3.11 and 5.0.4 a bug existed + when retrieving data from columns containing &null; values. + Such columns were not placed into the resulting array. + + + + + <function>msql_fetch_object</function> example + +id . ': ' . $row->name . "\n"; +} + +msql_free_result($result); +?> +]]> + + + - See also: - msql_fetch_array and - msql_fetch_row. + See also + msql_fetch_array, + msql_fetch_row, + msql_data_seek and + msql_result. Index: msql-fetch-row.xml =================================================================== RCS file: /repository/phpdoc/en/reference/msql/functions/msql-fetch-row.xml,v retrieving revision 1.3 diff -u -r1.3 msql-fetch-row.xml --- msql-fetch-row.xml 2 Mar 2004 10:16:06 -0000 1.3 +++ msql-fetch-row.xml 18 Feb 2005 06:06:34 -0000 @@ -27,10 +27,48 @@ return the next row in the result set, or &false; if there are no more rows. + + + In PHP versions prior to 4.3.11 and 5.0.4 a bug existed + when retrieving data from columns containing &null; values. + Such columns were not placed into the resulting array. + + + + + <function>msql_fetch_row</function> example + + +]]> + + + - See also: msql_fetch_array, + See also + msql_fetch_array, msql_fetch_object, - msql_data_seek, and + msql_data_seek and msql_result.