想要用php链接sqlite保存网页信息解决办法

WBOY
Release: 2016-06-13 13:29:14
Original
1056 people have browsed it

想要用php链接sqlite保存网页信息
有一个网页:通过JS函数实现了可以拖拽图片的功能
但是我希望可以将图片的位置保存在数据库里,下次打开的时候仍然可以显示上次保存的页面
请问各位介个有神马方法可以传值么?
图片的数目不定恩~

------解决方案--------------------
js 拖拽图片后将div 所在的图片文件名传送给php.php保存到数据库
下次打开页面使用ajax 读取数据库内容然后给相应的div 传递相应的图片名称.
方法一吧.

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