V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
johnnyR
V2EX  ›  问与答

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

  •  
  •   johnnyR · Jan 16, 2015 · 2149 views
    This topic created in 4130 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   ·   5294 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 03:51 · PVG 11:51 · LAX 20:51 · JFK 23:51
    ♥ Do have faith in what you're doing.