- Timestamp:
- Jan 22, 2008, 7:09:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/database.php
r4 r30 55 55 { 56 56 $Value = strtr($Value, '"', '\"'); 57 $Name .= ",".$Key;57 $Name .= ',`'.$Key.'`'; 58 58 if($Value == 'NOW()') $Values .= ",".$Value; 59 59 else $Values .= ',"'.$Value.'"'; … … 61 61 $Name = substr($Name, 1); 62 62 $Values = substr($Values, 1); 63 $this->query('REPLACE INTO `'.$this->Prefix.$Table.'` (`'.$Name.'`) VALUES('.$values.')'); 63 //echo('REPLACE INTO `'.$this->Prefix.$Table.'` ('.$Name.') VALUES ('.$Values.')<br>'); 64 $this->query('REPLACE INTO `'.$this->Prefix.$Table.'` ('.$Name.') VALUES('.$Values.')'); 65 //echo($this->error().'<br>'); 64 66 } 65 67
Note:
See TracChangeset
for help on using the changeset viewer.