php写入和读取json文件demo

2015-11-8 Jon 其他

1、php创建并写入json文件 <?php   header('Content-type: text/json');   $fruits = array (       "fruits"  => array("a" => "orange", "b" => "banana", "c" => "apple"),       "numbers" => array(1, 2, 3, 4, 5, 6),       "holes" &n...

阅读全文>>

标签: php json

评论(0) 浏览(3377)

ajax实现滚动条到底部后异步访问json获取数据

2015-10-20 Jon js+jquery+ajax

当滚动条滚动的底部的时候通过ajax异步获取json数据demo实例 index.html文件 <!DOCTYPE html> <html lang="en"> <head>   <meta charset="UTF-8">   <title>ajax下拉获取数据</title>   <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable...

阅读全文>>

标签: ajax json

评论(0) 浏览(2688)

皖ICP备15010162号-1 ©2015-2022 知向前端
qq:1614245331 邮箱:13515678147@163.com Powered by emlog sitemap