doufu7464 2018-11-02 14:34
浏览 58

“解析错误:语法错误,第63行的C:\ Users \ User \ Desktop \ xampp \ htdocs \ tut \ main.php中的文件意外结束”[复制]

I have done a pagination function with ajax, and a few minutes ago it was working fine. when I reload now it shows e an error :

Parse error: syntax error, unexpected end of file in C:\Users\User\Desktop\xampp\htdocs\tut\main.php on line 63.

I don't know maybe I have added any {","} or (",") in the script. I can't find where the error is. I have seen a tutorial and it's the same.

Can you guys help me? ps: I'm a beginner at PHP, AJAX.

<script>  
 //pagination with ajax
 $(document).ready(function(){  
      load_data();  
      function load_data(page)  
      {  
           $.ajax({  
                url:"paginator.php",  
                method:"POST",  
                data:{page:page},  
                success:function(data){  
                     $('#pagination_data').html(data);  
                }  
           })  
      }  
      $(document).on('click', '.pagination_link', function(){  
           var page = $(this).attr("id");  
           load_data(page);  
      });  
 });  
</script>
</div>
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 html5+css有人可以帮吗?
    • ¥30 Unity接入微信SDK 无法开启摄像头
    • ¥20 有偿 写代码 要用特定的软件anaconda 里的jvpyter 用python3写
    • ¥20 cad图纸,chx-3六轴码垛机器人
    • ¥15 移动摄像头专网需要解vlan
    • ¥20 access多表提取相同字段数据并合并
    • ¥20 基于MSP430f5529的MPU6050驱动,求出欧拉角
    • ¥20 Java-Oj-桌布的计算
    • ¥15 powerbuilder中的datawindow数据整合到新的DataWindow
    • ¥20 有人知道这种图怎么画吗?