且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为博客编程.在这方面需要帮助

更新时间:2023-02-26 14:18:44

仅显示特定日期内的帖子范围在首页上显示,而较旧的帖子显示在其他"页面上.没有涉及转移".当页面加载时,将确定将在第一页上显示的帖子.我看不出要想出这个概念有多么困难.在PHP中如何实现完全是另一回事.


hi all ! my name is sumit !
i am a programmer / designer / computer enthusiast !
i am programming my own blog my self ! , but am having this problem and its been a while since i tried to solve it !
the problem is that !
the problem is that i want to move older POSTS to a new page as in

an anchor that leads to a new page , e.g. page2.php

an i want only 10 posts per page ! i can handle the posts via db , but how to transfer older posts to the next page??????

Only display posts that fall within a certain date range on the first page, and display older posts on the "other" page. there''s no "transferring" involved. The posts that would be displayed on the first page would be determined when the page loads. I don''t see how it''s that difficult to get your head around that concept. How you would do it in PHP is another matter completely.