为什么我做的留言板 在从网页(简体中文)到数据库中时乱码

大家帮帮小弟吧,谢谢啦
为什么我做的留言板 在从网页(简体中文)到数据库中时乱码
在数据库内部插入时正常的
我用的       MySQL 字符集: UTF-8 Unicode (utf8)
MySQL 连接校对: utf8_general_ci

my.ini中[mysql]

default-character-set=latin1





# created and no character set is defined
default-character-set=latin1