Changeset 583 for trunk/pages/admin_novinky.php
- Timestamp:
- May 7, 2009, 9:15:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/admin_novinky.php
r470 r583 45 45 if (isset($_POST["add"]) AND $lvl > 0) 46 46 { 47 $db -> select_db($ db_webu);47 $db -> select_db($Config['Database']['Database']); 48 48 $result = $db -> query("INSERT INTO `articles` ( `id` , `title` , `autor` , `date` , `category` , `text`) VALUES (NULL, '".$_POST["nadpis"]."', '".$_POST["autor"]."', NULL , '".$_POST["kategorie"]."' , '".$_POST["text"]."');"); 49 49 echo "Přidáno !";
Note:
See TracChangeset
for help on using the changeset viewer.