johnnyR
V2EX  ›  问与答

mysql 输入中文不能查询出结果?

  •  
  •   johnnyR · Jan 16, 2015 · 2213 views
    This topic created in 4166 days ago, the information mentioned may be changed or developed.

    继昨天问题解决后又有新的问题。就是中文不能查询出结果。
    输入学号显示正常。但输入姓名就显示查询结果为0!这又是什么问题?
    再次感谢!还有那个是怎么写的?有的mysql_query(“set names 'utf-8'″) 有的mysql_query(“set names utf-8″)还有的mysql_query('set names utf-8')

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2995 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 00:04 · PVG 08:04 · LAX 17:04 · JFK 20:04
    ♥ Do have faith in what you're doing.