We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99503d9 commit 02f9659Copy full SHA for 02f9659
class.MySQL.php
@@ -251,7 +251,7 @@ function ArrayResult(){
251
// 'Arrays' multiple result
252
function ArrayResults(){
253
$this->aArrayedResults = array();
254
- for ($i = 0; $aData = mysql_fetch_assoc($this->aResult); $i++){
+ while ($aData = mysql_fetch_assoc($this->aResult){
255
$this->aArrayedResults[] = $aData;
256
}
257
return $this->aArrayedResults;
0 commit comments