From 8432ea1cc4b735944bf4d2d17b7e8f98fb8f56cc Mon Sep 17 00:00:00 2001 From: Richard Quadling Date: Fri, 24 Nov 2006 09:24:40 +0000 Subject: [PATCH] RQuadling : Undocumented feature git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@223800 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../uodbc/functions/odbc-next-result.xml | 80 ++++++++++++++++++- 1 file changed, 78 insertions(+), 2 deletions(-) diff --git a/reference/uodbc/functions/odbc-next-result.xml b/reference/uodbc/functions/odbc-next-result.xml index cbb1ad782d..34e1b5c2fa 100644 --- a/reference/uodbc/functions/odbc-next-result.xml +++ b/reference/uodbc/functions/odbc-next-result.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,83 @@ resourceresult_id - &warn.undocumented.func; + odbc_next_result will return &true; if there are more result sets + available as well as allowing access to the next result set via + odbc_fetch_array, odbc_fetch_row, + odbc_result, etc. + + + This function will return &false; on error. + + + The argument is a valid result identifier returned by odbc_exec. + + + + <function>odbc_next_result</function> + + +]]> + + &example.outputs; + + + string(1) "A" +} +bool(false) +Get second results set bool(true) +Dump second result set array(1) { + ["B"]=> + string(1) "B" +} +bool(false) +Get third results set bool(true) +Dump third result set array(1) { + ["C"]=> + string(1) "C" +} +bool(false) +Try for a fourth result set bool(false) +]]> + +