Changeset 35 for database.php
- Timestamp:
- Nov 8, 2008, 10:13:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
database.php
r5 r35 7 7 { 8 8 var $Prefix = ''; 9 var $LastQuery = ''; 9 10 11 function query($Query) 12 { 13 $this->LastQuery = $Query; 14 return(parent::query($Query)); 15 } 16 10 17 function select($Table, $What = '*', $Condition = 1) 11 18 { 12 $Query = "SELECT ".$What." FROM `".$this->Prefix.$Table."` WHERE ".$Condition; 13 return($this->query($Query)); 19 return($this->query("SELECT ".$What." FROM `".$this->Prefix.$Table."` WHERE ".$Condition)); 14 20 } 15 21
Note:
See TracChangeset
for help on using the changeset viewer.