Home > Backend Development > PHP Tutorial > jquery - php 上传多图片后对每张图片进行描述后保存到mysql

jquery - php 上传多图片后对每张图片进行描述后保存到mysql

WBOY
Release: 2016-06-06 20:31:05
Original
1263 people have browsed it

请问如何实现jquery上传图片后,把每张图的描述对应插入数据库,怎么个逻辑呢

回复内容:

请问如何实现jquery上传图片后,把每张图的描述对应插入数据库,怎么个逻辑呢

如果你是利用jquery实现异步上传图片的话,那么你大可利用异步请求返回的图片ID进行图片绑定,把描述信息绑定到对应的图片上,然后存进mysql。这是我常用的解决方案,希望对你有用。

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