Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 PHP/SQL 查询将数据插入到 MySQL 表中,当我使用£(磅)符号时,它会在之前插入一个Â字符,所以看起来像
£
Â
£ then the rest of the string
我的 SQL 查询很简单:
$sql="INSERT into table (column1, column2) values (value1, value2)"; $rs=mysql_query($sql,$conn);
有什么办法可以阻止Â插入 MySQL 表?
谢谢