PHP garbled question

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • PHP garbled question

    The add. PHP:
    If ($_GET [' action '] = = 'save') {
    If (! $_POST [' username '] | |! $_POST [' content ']) {
    Echo 'please enter user name and content! ';
    ... /
    < meta HTTP - equiv = "content-type" Content = "text/HTML; charset = utf-8" / >
    < form id = "form1" name = "form1" method = "post" action = "add. PHP? Action = save" >
    At the time of display input page is good, without the code, such as whether the presentation in the display content is empty, what Chinese are garbled, this don't know how to solve the problem of the statement?