Changeset 421 for beta/pages/admin_novinky.php
- Timestamp:
- Feb 10, 2009, 11:53:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
beta/pages/admin_novinky.php
r407 r421 11 11 <td>Nadpis</td> 12 12 <td><input type=\"text\" name=\"nadpis\"></td> 13 </tr> 14 <tr> 15 <td>Autor</td> 16 <td><input type=\"text\" name=\"autor\"></td> 13 17 </tr> 14 18 <tr> … … 42 46 { 43 47 $db -> select_db($db_ghsystem); 44 $result = $db -> query("INSERT INTO `articles` ( `id` , `title` , `autor` , `date` , `category` , `text`) VALUES (NULL, '".$_POST["nadpis"]."', '".$_ COOKIE["hof-nick"]."', NULL , '".$_POST["kategorie"]."' , '".$_POST["text"]."');");48 $result = $db -> query("INSERT INTO `articles` ( `id` , `title` , `autor` , `date` , `category` , `text`) VALUES (NULL, '".$_POST["nadpis"]."', '".$_POST["autor"]."', NULL , '".$_POST["kategorie"]."' , '".$_POST["text"]."');"); 45 49 echo "Přidáno !"; 46 50 }
Note:
See TracChangeset
for help on using the changeset viewer.