Changeset 103 for db/post_read.php
- Timestamp:
- Sep 30, 2007, 11:00:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.