Changeset 472 for branches/beta/pages/admin_finance.php
- Timestamp:
- Mar 7, 2009, 5:11:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/beta/pages/admin_finance.php
r470 r472 30 30 </td> 31 31 </tr> 32 <tr> 33 <td>Odměna</td> 34 <td> 35 <input type=text name=\"odmena\"> 36 </td> 37 </tr> 32 38 <tr> 33 39 <td>Popis</td> … … 44 50 { 45 51 $db -> select_db($db_ghsystem); 46 $result = $db -> query("INSERT INTO ` dotation` ( `id` , `time` , `money` , `operation` , `description`) VALUES (NULL, '".$_POST["day"]."', '".$_POST["suma"]."', '".$_POST["kategorie"]."' , '".$_POST["popis"]."');");52 $result = $db -> query("INSERT INTO `finance` ( `id` , `time` , `money` , `operation` , `description`, `odmena`) VALUES (NULL, '".$_POST["day"]."', '".$_POST["suma"]."', '".$_POST["kategorie"]."' , '".$_POST["popis"]."', '".$_POST["odmena"]."');"); 47 53 echo "Přidáno !"; 48 54 }
Note:
See TracChangeset
for help on using the changeset viewer.