|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/** 触发一个初始化插件admin/header */?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>000</title>
</head>
<body>
中文
<form action="addColumn" method="post">
typeid:<input type="text" name="typeid" /><br />
languageid:<input type="text" name="languageid" /><br />
columnname:<input type="text" name="columnname" /><br />
columnpraid:<input type="text" name="columnpraid" /><br />
columnsort:<input type="text" name="columnsort" /><br />
<input type="submit" value="tijiao" />
</form>
</body>
</html>
添加成功后的数据是没乱码,
controllers层里面的输出也没乱码,echo "插入数据成功";
就view层写中文有问题,为何?怎么解决? |
|