Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6e8b8ae

Browse files
Merge pull request #22 from BizBink/patch-1
Edited ExecuteSQL function
2 parents 6adecdf + a1cf0ae commit 6e8b8ae

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

‎class.MySQL.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,7 @@ function ExecuteSQL($query){
121121
$this->records = @mysql_num_rows($this->result);
122122
$this->affected = @mysql_affected_rows($this->databaseLink);
123123

124-
if($this->records > 0){
125-
$this->ArrayResults();
126-
return $this->arrayedResult;
127-
}else{
128-
return true;
129-
}
124+
return true;
130125

131126
}else{
132127
$this->lastError = mysql_error($this->databaseLink);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /