注册 登录
编程论坛 PHP技术论坛

我在php后台输入“階”字后老是自动变成“盲”字 请高手指点下

guang2356447 发布于 2015-03-25 12:24, 2359 次点击
我在php后台输入“階”字后老是自动变成“盲”字    请高手指点下
下面是地址
http://www.

使用的是mysql 数据库

<meta http-equiv="Content-Type" content="textml; charset=gb2312" />
<?php require("../ty2connhty.php")?>
<?php mysql_query("set names GB2312");?>
<?php
$id=$_POST['id'];
$bt=$_POST['bt'];
//$act=='subok' && die("提交的内容是:<br>".htmlspecialchars($gently_editor));
$exec="update jbxx set id='$id',bt='$bt' where id=$id";
mysql_query($exec);
mysql_close();
?>
<script language="javascript">alert('修改成功!<?php echo $id?>');location.href='bjgsjj.php?id=<?php echo $id?>'</script>
5 回复
#2
guang23564472015-03-25 12:27
我百度提问后  输入的 “階”  自动变成了 “阶”


 http://zhidao.baidu.com/question/456624982220867605.html#
#3
zklhp2015-03-25 13:53
<meta http-equiv="Content-Type" content="textml; charset=gb2312" />


gb2312里没有这个字
#4
guang23564472015-03-26 15:35
gb2312里没有怎么办呐
#5
guang23564472015-03-26 15:40
utf8
里面也显示不出来
#6
zklhp2015-03-26 16:46
这个字UTF-8应该是可以的 不行gbk
1