Changeset 103
- Timestamp:
- Sep 30, 2007, 11:00:33 PM (17 years ago)
- Location:
- db
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
db/include/bug_report.php
r102 r103 25 25 <?php } elseif( $id=="sendbug" ){ ?> 26 26 <?php echo $sql_insert['result']; ?> 27 <form action="./index.php?id=sendbug" method="post" >27 <form action="./index.php?id=sendbug" method="post" accept-charset="utf-8"> 28 28 <table id="sendbug" border="0" cellspacing="0" cellpadding="2"> 29 29 <tr><td> -
db/post_read.php
r102 r103 124 124 mysql_select_db($Config['DB_read']['DB_read']['Database_web']) 125 125 OR DIE("<p>Nepodařilo se nastavit pracovní databázi ".$Config['DB_read']['DB_read']['Database_web']."!</p>"); 126 @mysql_query("SET CHARACTER SET utf8"); 126 127 127 128 $sql_select = SQLselect_Strankovani("SELECT * FROM `bug_report` ORDER BY `opraveno` ASC, `vlozeno` DESC", $limit, 20, "?id=bugreport", $SID); … … 151 152 mysql_select_db($Config['DB_read']['DB_read']['Database_web']) 152 153 OR DIE("<p>Nepodařilo se nastavit pracovní databázi ".$Config['DB_read']['DB_read']['Database_web']."!</p>"); 154 @mysql_query("SET CHARACTER SET utf8"); 153 155 154 156 $sql_select['sql'] = mysql_query("SELECT * FROM `bug_report` WHERE id=$bug LIMIT 1"); … … 168 170 mysql_select_db($Config['DB_read']['DB_read']['Database_web']) 169 171 OR DIE("<p>Nepodařilo se nastavit pracovní databázi ".$Config['DB_read']['DB_read']['Database_web']."!</p>"); 172 @mysql_query("SET CHARACTER SET utf8"); 170 173 171 174 $sql_insert['sql'] = "INSERT INTO `bug_report` (`nick`,`typ`,`vlozeno`,`popis`) VALUES('".$_POST['game_nick']."','".$_POST['err_type']."','".time()."','".$_POST['popis']."')";
Note:
See TracChangeset
for help on using the changeset viewer.