paging
Page 1 of 1 • Share •
paging
can somebody help me with paging?
i'd like to put a search engine and in case it returns a lot of matches, then i want to apply paging on the results...if they press next then they'll be sent to the next set of results.
it's somewhat like that of google/ any sites with search engine.
i'd like to put a search engine and in case it returns a lot of matches, then i want to apply paging on the results...if they press next then they'll be sent to the next set of results.
it's somewhat like that of google/ any sites with search engine.
______________________________

THIS SIGNATURE IS BY::: AGENT COSMIC ----------QUOTE BY:::TECHY

charvie
Advanced Surfer
- Posts: 446
Joined: 2008-04-13
Operating System: Windows XP
Re: paging
______________________________
Milton


Have GeekPolice helped you? Help us!
Be a GeekPolice fan on Facebook
Our Tech New Blog: Tech.GeekPolice

Doctor Inferno
The GeekPolice
- Posts: 9935
Joined: 2007-12-26
Operating System: Windows 7 Ultimate 64-Bit

Re: paging
hmm....just the paging, I've done coding the search engine part. I just don't want all the results to be shown in just one page since they could be so many, so i want to apply paging.
______________________________

THIS SIGNATURE IS BY::: AGENT COSMIC ----------QUOTE BY:::TECHY

charvie
Advanced Surfer
- Posts: 446
Joined: 2008-04-13
Operating System: Windows XP
Re: paging
What code is your search engine written in? Or are you using the Google Custom Search? If you are, then Google will automatically page it for you.
______________________________
Milton


Have GeekPolice helped you? Help us!
Be a GeekPolice fan on Facebook
Our Tech New Blog: Tech.GeekPolice

Doctor Inferno
The GeekPolice
- Posts: 9935
Joined: 2007-12-26
Operating System: Windows 7 Ultimate 64-Bit

Re: paging
it's in PHP combined with mySql...
______________________________

THIS SIGNATURE IS BY::: AGENT COSMIC ----------QUOTE BY:::TECHY

charvie
Advanced Surfer
- Posts: 446
Joined: 2008-04-13
Operating System: Windows XP
Re: paging
WOW!
Ok, why dont you try to parse the contents based on a number layed table?
(I am not a php programmer, but I assume that it works close to the same as what I do...)
Ok, why dont you try to parse the contents based on a number layed table?
(I am not a php programmer, but I assume that it works close to the same as what I do...)
______________________________
Click the button below if you would like to give this website a good rating on stumbleapon.

http://i73.servimg.com/u/f73/12/53/83/84/usebar11.png

Jerry Parnell
Advanced Surfer
- Posts: 666
Joined: 2008-08-04
Operating System: Windows Vista Home Basic
Re: paging
charvie, how about trying the LIMIT option in the SQL SELECT statement?
______________________________
Milton


Have GeekPolice helped you? Help us!
Be a GeekPolice fan on Facebook
Our Tech New Blog: Tech.GeekPolice

Doctor Inferno
The GeekPolice
- Posts: 9935
Joined: 2007-12-26
Operating System: Windows 7 Ultimate 64-Bit

Re: paging
yup! i used the limit option. 

______________________________

THIS SIGNATURE IS BY::: AGENT COSMIC ----------QUOTE BY:::TECHY

charvie
Advanced Surfer
- Posts: 446
Joined: 2008-04-13
Operating System: Windows XP
Re: paging
So did it work?
______________________________
Milton


Have GeekPolice helped you? Help us!
Be a GeekPolice fan on Facebook
Our Tech New Blog: Tech.GeekPolice

Doctor Inferno
The GeekPolice
- Posts: 9935
Joined: 2007-12-26
Operating System: Windows 7 Ultimate 64-Bit

Re: paging
yep! it did work.. thnx a lot!


______________________________

THIS SIGNATURE IS BY::: AGENT COSMIC ----------QUOTE BY:::TECHY

charvie
Advanced Surfer
- Posts: 446
Joined: 2008-04-13
Operating System: Windows XP
Permissions of this forum:
You cannot reply to topics in this forum










by 