Changeset 890 for trunk/Packages/Common/Database.php
- Timestamp:
- Dec 29, 2020, 11:11:12 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/Database.php
r888 r890 105 105 'padding-bottom: 3px; padding-top: 3px; font-size: 12px; font-family: Arial;">'.$Query.$Duration.'</div>'."\n"); 106 106 $Result = new DatabaseResult(); 107 $Result->PDOStatement = $this->PDO->query($Query); 108 if ($Result->PDOStatement) 109 { 110 $Result->num_rows = $Result->PDOStatement->rowCount(); 107 $Statement = $this->PDO->query($Query); 108 if ($Statement) 109 { 110 $Result->PDOStatement = $Statement; 111 $Result->num_rows = $Statement->rowCount(); 111 112 $this->insert_id = $this->PDO->lastInsertId(); 112 113 } else
Note:
See TracChangeset
for help on using the changeset viewer.