How to write the php paging class? This is my front-end code & nbsp;. how can I write another category page and call the category page class through the previous code to implement paging? what else do I need to add to the front-end code? & Nbsp; thank you very much for your help! & Lt ;! DOCTYPE & nbsp; html & nbsp; PUBLIC & nbsp;-W3CDTD & nbsp; XHTML & nbsp; 1.0 & nbsp; how to write the Transitional php paging class?
This is my front-end code. how can I write another category page and call the category page class through the previous code to implement paging? what else do I need to add to the front-end code? Thank you very much for your help!
Untitled Document
Require_once ('config. php ');
If (isset ($ _ SESSION ['admin']) {
// Echo session_id ();
Echo "welcome,". $ _ SESSION ['admin'] ['1']. "! | ";
Echo "quit ";
} Else {
Echo "login ";
Die ("<-- insufficient permissions, please ");
}
?>
| Title |
Function |
$ SQL = "SELECT * FROM content ";$ X = mysql_query ($ SQL );// $ Rs = mysql_fetch_row ($ x );// Var_dump ($ rs );While ($ rs = mysql_fetch_row ($ x )){?>
| '>
|
Edit | delete |
}?>
------ Solution ----------------------
Reference: http://www.cnblogs.com/mbailing/archive/2013/08/02/3232646.html
------ Solution ----------------------
Http://blog.sina.com.cn/s/blog_49cc837a0100kj0v.html
This should look more comfortable.
------ Solution ----------------------
Look at my http://bbs.csdn.net/topics/390192431