johnnyR
V2EX  ›  问与答

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

  •  
  •   johnnyR · Jan 16, 2015 · 2200 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   ·   1268 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:42 · PVG 01:42 · LAX 10:42 · JFK 13:42
    ♥ Do have faith in what you're doing.