From fc532225e3b07ee497728d44f1c62a06f8297f65 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Wed, 2 Jan 2008 16:13:19 +0000 Subject: [PATCH] Remove old file #../mysqli_result/fetch-assoc.xml git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249704 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../mysqli/functions/mysqli-fetch-assoc.xml | 169 ------------------ 1 file changed, 169 deletions(-) delete mode 100644 reference/mysqli/functions/mysqli-fetch-assoc.xml diff --git a/reference/mysqli/functions/mysqli-fetch-assoc.xml b/reference/mysqli/functions/mysqli-fetch-assoc.xml deleted file mode 100644 index 9345c47ac9..0000000000 --- a/reference/mysqli/functions/mysqli-fetch-assoc.xml +++ /dev/null @@ -1,169 +0,0 @@ - - - - - mysqli_fetch_assoc - mysqli->fetch_assoc() - Fetch a result row as an associative array - - - - &reftitle.description; - Procedural style: - - arraymysqli_fetch_assoc - mysqli_resultresult - - Object oriented style (method): - - mysqli_result - - arrayfetch_assoc - - - - - Returns an associative array that corresponds to the fetched row or &null; - if there are no more rows. - - &database.field-case; - &database.fetch-null; - - - - &reftitle.parameters; - - - &mysqli.result.description; - - - - - - &reftitle.returnvalues; - - Returns an associative array of strings representing the fetched row in the result - set, where each key in the array represents the name of one of the result - set's columns or &null; if there are no more rows in resultset. - - - If two or more columns of the result have the same field names, the last - column will take precedence. To access the other column(s) of the same - name, you either need to access the result with numeric indices by using - mysqli_fetch_row or add alias names. - - - - - &reftitle.examples; - - Object oriented style - -query($query)) { - - /* fetch associative array */ - while ($row = $result->fetch_assoc()) { - printf ("%s (%s)\n", $row["Name"], $row["CountryCode"]); - } - - /* free result set */ - $result->close(); -} - -/* close connection */ -$mysqli->close(); -?> -]]> - - - - Procedural style - - -]]> - - - &example.outputs; - - - - - - - &reftitle.seealso; - - - mysqli_fetch_array - mysqli_fetch_row - mysqli_fetch_object - mysqli_query - mysqli_data_seek - - - - - - -