Changeset 9 for database.php
- Timestamp:
- Oct 11, 2008, 11:06:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
database.php
r1 r9 11 11 function query($Query) 12 12 { 13 $this->LastQuery = $Query; 14 return(parent::query($Query)); 13 $this->LastQuery = $Query; 14 return(parent::query($Query)); 15 15 } 16 16 … … 18 18 { 19 19 $this->LastQuery = "SELECT ".$What." FROM `".$this->Prefix.$Table."` WHERE ".$Condition; 20 return($this->query($this->LastQuery)); 20 return($this->query($this->LastQuery)); 21 21 } 22 22 … … 24 24 { 25 25 $this->LastQuery = "DELETE FROM `".$this->Prefix.$Table."` WHERE ".$Condition; 26 $this->query($this->LastQuery); 26 $this->query($this->LastQuery); 27 27 } 28 28 … … 41 41 $Values = substr($Values, 1); 42 42 $this->LastQuery = 'INSERT INTO `'.$this->Prefix.$Table.'` ('.$Name.') VALUES('.$Values.')'; 43 $this->query($this->LastQuery); 43 $this->query($this->LastQuery); 44 44 } 45 45
Note:
See TracChangeset
for help on using the changeset viewer.