简体   繁体   English

使用PHP和Jquery分页

[英]Pagination using PHP and Jquery

I am trying to use pagination function in my website. 我正在尝试在我的网站中使用分页功能。 the code is given below. 代码如下。 But the problem is that it shows All the record But I want to use pagination for that record which is displayed with $_GET means I make a link in php some thing like this 但是问题是它显示了所有记录,但是我想对$_GET显示的记录使用分页,这意味着我在php中建立了这样的链接

<a href="page.php?id<?php echo $video_id; ?>">Show</a> 

but it does not show me record. 但它不会显示记录。 anyone help me I used the is given below. 有人帮我我用下面给出的。 in content_displaer.php I am new here so do not know how to put the code kindly download this file for refference. content_displaer.php中,我是新来的,所以不知道如何放置代码,请将该文件下载以供参考。 I am using $_GET['id'] in content.php file and just call the content_displayer by using javascript. 我在content.php文件中使用$_GET['id'] ,只是通过使用javascript调用content_displayer。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM