iPhone表情符号插入MySQL但成为空白值 [英] iPhone emoticons insert into MySQL but become blank value

查看:210
本文介绍了iPhone表情符号插入MySQL但成为空白值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发一款iPhone应用程序,可将表情符号从iPhone发送到服务器端PHP并插入MySQL表格。我正在做服务器端工作。

We are developing an iPhone app that would send emoticons from iPhone to server-side PHP and insert into MySQL tables. I am doing the server-side work.

但是插入语句成功执行后,插入的值变为空白。

我可以插入到field(varchar)正确是文本,但一旦包含表情符号,

只需插入文本即可自动剪切表情符号。

But after insert statement executed successfully, the inserted value become blank.
What I could insert into the field(varchar) correctly is text, but once including emoticons,
just the text could be inserted and the emoticons would be cut automatically.

某人给我关于将字段类型设置为Blog以便它可以存储图像数据的建议。

但是插入的值并不总是包括表情符号的情况和大小很小。

Someone give me advice about set the field type to Blog so that it could store image data.
But the inserted value is not always including emoticons case and size is small.

*我使用mysql_real_escape_string插入值。

*I am using mysql_real_escape_string for inserting value.

推荐答案

这篇关于iPhone表情符号插入MySQL但成为空白值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆