PHP output chaotic code output page directly output chaotic code, in the page without definition of coding, solution, in the head add: php file [code].lt;? Header ('Content-Type: text/html; charset=utf-8');.Gt; [/code] and the file to be stored as UTF-8 format
MYSQL database connection also set [code]mysql_query (.Quot;);