Home > Backend Development > PHP Tutorial > 新手请问,关于textarea插入表情的方法

新手请问,关于textarea插入表情的方法

WBOY
Release: 2016-06-13 11:52:55
Original
1045 people have browsed it

新手请教,关于textarea插入表情的方法
刚刚利用document.createElement("img")实现了在textarea里面添加表情的功能,但问题就是表情无法存储到数据库,每次浏览的帖子的时候,表情就没了,所以想问问有没有什么好方法?
------解决方案--------------------
把图片的URL地址存到数据库里

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template