Skip to content

Commit 02f9659

Browse files
author
Alex Warhawk
committed
changed the for loop to a while loopt (refering last commit)
1 parent 99503d9 commit 02f9659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class.MySQL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ function ArrayResult(){
251251
// 'Arrays' multiple result
252252
function ArrayResults(){
253253
$this->aArrayedResults = array();
254-
for ($i = 0; $aData = mysql_fetch_assoc($this->aResult); $i++){
254+
while ($aData = mysql_fetch_assoc($this->aResult){
255255
$this->aArrayedResults[] = $aData;
256256
}
257257
return $this->aArrayedResults;

0 commit comments

Comments
 (0)