Changeset 103 for db/post_read.php


Ignore:
Timestamp:
Sep 30, 2007, 11:00:33 PM (17 years ago)
Author:
hosiplan
Message:

vypadá to že to kódování ještě furt zlobí, ale doma už mi to jede v pohodě

File:
1 edited

Legend:

Unmodified
Added
Removed
  • db/post_read.php

    r102 r103  
    124124  mysql_select_db($Config['DB_read']['DB_read']['Database_web'])
    125125    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"); 
    126127
    127128  $sql_select = SQLselect_Strankovani("SELECT * FROM `bug_report` ORDER BY `opraveno` ASC, `vlozeno` DESC", $limit, 20, "?id=bugreport", $SID);
     
    151152  mysql_select_db($Config['DB_read']['DB_read']['Database_web'])
    152153    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"); 
    153155
    154156  $sql_select['sql'] = mysql_query("SELECT * FROM `bug_report` WHERE id=$bug LIMIT 1");
     
    168170  mysql_select_db($Config['DB_read']['DB_read']['Database_web'])
    169171    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"); 
    170173
    171174  $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.