- Timestamp:
- 05/24/08 16:18:01 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
downloadDatabase/files/lib/data/downloadDB/DownloadDBDataEditor.class.php
r431 r523 95 95 foreach ($moreData as $key => $value) { 96 96 $keys .= ','.$key; 97 $values .= ",'". escapeString($value)."'";97 $values .= ",'".$value."'"; 98 98 } 99 99 $sql = "INSERT INTO wcf".WCF_N."_dldb_data 100 100 (`katID`, `name`, `description`".$keys.") 101 101 VALUES 102 ('".intval($katID)."','". escapeString($name)."','".escapeString($description)."'".$values.")";102 ('".intval($katID)."','".$name."','".$description."'".$values.")"; 103 103 WCF::getDB()->sendQuery($sql); 104 104 $dataID = WCF::getDB()->getInsertID();
