Changeset 457 for trunk/dictionary.php
- Timestamp:
- Apr 13, 2010, 10:35:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dictionary.php
r455 r457 117 117 118 118 $DbResult = $System->Database->query('SELECT `Id` FROM `Dictionary` WHERE `Entry` = '.$Entry.' AND `Language`='.$_SESSION['language'].' AND `User`='.$User->Id); 119 if( mysql_num_rows($DbResult)> 0)120 { 121 $DbRow = mysql_fetch_assoc($DbResult);119 if($DbResult->num_rows > 0) 120 { 121 $DbRow = $DbResult->fetch_assoc(); 122 122 $System->Database->query('UPDATE `Dictionary` SET `Text`="'.$_POST['Translated'].'", `Description` = "'.$_POST['Description'].'" WHERE Id='.$DbRow['Id']); 123 123 } else
Note:
See TracChangeset
for help on using the changeset viewer.