Changeset 27 for branches/3/class/database.php
- Timestamp:
- Oct 13, 2008, 6:52:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3/class/database.php
r25 r27 4 4 // Date: 2007-07-19 5 5 6 class Database extends mysqli6 class database extends mysqli 7 7 { 8 8 var $Prefix = ''; 9 9 var $LastQuery = ''; 10 var $Last_num_rows; 10 11 11 12 function query($Query) … … 18 19 { 19 20 $this->LastQuery = "SELECT ".$What." FROM `".$this->Prefix.$Table."` WHERE ".$Condition; 21 $count = $this->query($this->LastQuery); 22 $count = $count->fetch_array(); 23 $this->Last_num_rows = count($count); 20 24 return($this->query($this->LastQuery)); 21 25 }
Note:
See TracChangeset
for help on using the changeset viewer.