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 dcede6a commit fa9f5ceCopy full SHA for fa9f5ce
class.MySQL.php
@@ -23,7 +23,7 @@
23
class MySQL {
24
25
// Base variables
26
- public $lastError; // Holds the last error
+ public $lastError; // Holds the last error
27
public $lastQuery; // Holds the last query
28
public $result; // Holds the MySQL query result
29
public $records; // Holds the total number of records returned
@@ -380,7 +380,7 @@ public function arrayResultsWithKey($key='id'){
380
381
// Returns last insert ID
382
public function lastInsertID(){
383
- return mysql_insert_id();
+ return mysql_insert_id($this->databaseLink);
384
}
385
386
// Return number of rows
0 commit comments