johnnyR
V2EX  ›  问与答

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

  •  
  •   johnnyR · Jan 16, 2015 · 2201 views
    This topic created in 4157 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   ·   921 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:59 · PVG 04:59 · LAX 13:59 · JFK 16:59
    ♥ Do have faith in what you're doing.