mysqli-fetch-assoc

From: Date: Fri, 12 Mar 2004 22:00:07 +0000
Subject: mysqli-fetch-assoc
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969359526@lists.php.net to get a copy of this message
Hi, There is a paragraph that i don´t understand that says: If two or more columns in the result set have the same column name, the associative array returned by the <function>mysqli_fetch_assoc</function> function will contain the value of the last column of that name. If you must work with result sets with this properity, the <function>mysqli_fetch_row</function> should be used which returns an numerically-indexed array instead. In the part where is said: If you must work with result sets with this properity, the <function>mysqli_fetch_row</function> should be used which returns an numerically-indexed array instead. For my understanding, it should be : If you must NOT work with result sets with this property, the <function>mysqli_fetch_row</function> should be used which returns an numerically-indexed array instead. Or something similar. But of course it is just my opinion, so I’ll wait for advice. Enrique García Briones

« previous php.doc (#969359526) next »