Changeset 583 for trunk/pages/admin_novinky.php
- Timestamp:
 - May 7, 2009, 9:15:17 AM (17 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/pages/admin_novinky.php (modified) (1 diff)
 
 
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.
  ![(please configure the [header_logo] section in trac.ini)](/wow/chrome/site/your_project_logo.png)