Changeset 456 for trunk/Common/Database.php
- Timestamp:
- Oct 31, 2012, 4:52:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Database.php
r448 r456 12 12 function fetch_assoc() 13 13 { 14 return($this->PDOStatement->fetch( ));14 return($this->PDOStatement->fetch(PDO::FETCH_ASSOC)); 15 15 } 16 16 17 17 function fetch_array() 18 18 { 19 return($this->PDOStatement->fetch( ));19 return($this->PDOStatement->fetch(PDO::FETCH_BOTH)); 20 20 } 21 21 22 22 function fetch_row() 23 23 { 24 return($this->PDOStatement->fetch( ));24 return($this->PDOStatement->fetch(PDO::FETCH_NUM)); 25 25 } 26 26 }
Note:
See TracChangeset
for help on using the changeset viewer.