Changeset 377 for beta/pages/admin.php
- Timestamp:
- Sep 16, 2008, 6:53:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
beta/pages/admin.php
r373 r377 3 3 $lvl = $player -> GetGmLvl(); 4 4 echo " 5 <form method=\"post\"> 5 6 <table align=\"center\" border=\"0\" width=\"300\"> 6 7 <tr> … … 35 36 36 37 </table> 38 </form> 37 39 "; 38 40 39 41 if (isset($_POST["add"])) 42 { 43 $db -> select_db("web"); 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"]."');"); 45 echo "Přidáno !"; 46 } 40 47 41 48
Note:
See TracChangeset
for help on using the changeset viewer.