search

Home  >  Q&A  >  body text

1.How is PHP written?

     $.get('1.php',function(data){
         if(data.res == 1){
             personArray = data.data; //此为数组
             loadImage(personArray, function (img) {
                $('.loader_file').hide();
            })
             Obj.M = $('.container').lucky({
             row : 7, //每排显示个数  必须为奇数
             col : 7, //每列显示个数  必须为奇数
             depth : 6, //纵深度
             iconW : 30, //图片的宽
             iconH : 30, //图片的高
             iconRadius : 8, //图片的圆角
             data : personArray, //数据的地址数组
         });
         }
     },'json');


*小球*小球2429 days ago1160

reply all(2)I'll reply

  • Waste or genius

    Waste or genius2018-06-14 14:38:21

    That's how it's written

    reply
    0
  • *小球

    What is written in 1.php that allows this ajax to obtain the data from the database? Boss, please help me. I’m a noob.

    *小球 · 2018-06-14 14:45:07
  • Cancelreply