juice Posted January 2, 2015 Share Posted January 2, 2015 so i'm tryna figure out how to implement a strategy i see google and some other websites use.. I've been tryna figure out how do they list their results with incrmental search options.. like (1, 2, 3, 4.. etc..), like each number you choose you get a different list of search results.. i want to implement this on a tryout website where i can display a list of news, that i will keep adding more and more news updates to.. i would like to know how should i use this same technology on my own website... >>>>Would i have to make a special incremented database table for news and formulate a special query to return a certain amount of rows at a time and display it appropriately. then caluculate how much numbers to display on the website by the the amount of data in the database table.. the numbers would display the most recent updates to the least as expected.. i have no idea, i'm just brainstorming on what i think is most practical from my level of knowledge... Can someone please help me i'm tryna prepare for a job.. thanks much for the help... Link to comment Share on other sites More sharing options...
Ingolme Posted January 2, 2015 Share Posted January 2, 2015 It's called pagination. You use the LIMIT clause of the query to only load a particular set of results based on what was passed to PHP in the query string. 1 Link to comment Share on other sites More sharing options...
juice Posted January 2, 2015 Author Share Posted January 2, 2015 thanks so much foxy.. i really appreciate it.. i'm gonna try learning and implementing it the advanced way with php, jquery and ajax.. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now