GeekPolice
Welcome to GeekPolice.net!

GeekPolice is a website which provides free Computer Technical Support & Virus/Spyware Removal to our members.

You are currently viewing the forum as "Guest" which doesn't give you the same privilege as members to ask questions or post comments.

Click the Register button below to unlock the limitations of this website and start asking questions to discover new computer knowledge!

paging

View previous topic View next topic Go down

Solved paging

Post by charvie on Sun 08 Mar 2009, 5:35 am

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.

______________________________


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

charvie

Advanced Surfer
Advanced Surfer

Posts: 446
Joined: 2008-04-13
Operating System: Windows XP

View user profile

Back to top Go down

Solved Re: paging

Post by Doctor Inferno on Sun 08 Mar 2009, 5:47 am

Do you mean a custom search engine?

http://www.google.com/coop/cse/

______________________________
Milton




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

Doctor Inferno

The GeekPolice
The GeekPolice

Posts: 9935
Joined: 2007-12-26
Operating System: Windows 7 Ultimate 64-Bit

View user profile http://Twitter.com/GeekPolice

Back to top Go down

Solved Re: paging

Post by charvie on Sun 08 Mar 2009, 5:50 am

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
Advanced Surfer

Posts: 446
Joined: 2008-04-13
Operating System: Windows XP

View user profile

Back to top Go down

Solved Re: paging

Post by Doctor Inferno on Sun 08 Mar 2009, 6:07 am

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
The GeekPolice

Posts: 9935
Joined: 2007-12-26
Operating System: Windows 7 Ultimate 64-Bit

View user profile http://Twitter.com/GeekPolice

Back to top Go down

Solved Re: paging

Post by charvie on Sun 08 Mar 2009, 6:09 am

it's in PHP combined with mySql...

______________________________


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

charvie

Advanced Surfer
Advanced Surfer

Posts: 446
Joined: 2008-04-13
Operating System: Windows XP

View user profile

Back to top Go down

Solved Re: paging

Post by Jerry Parnell on Sun 08 Mar 2009, 4:29 pm

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...)

______________________________

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
Advanced Surfer

Posts: 666
Joined: 2008-08-04
Operating System: Windows Vista Home Basic

View user profile

Back to top Go down

Solved Re: paging

Post by Doctor Inferno on Mon 09 Mar 2009, 5:43 am

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
The GeekPolice

Posts: 9935
Joined: 2007-12-26
Operating System: Windows 7 Ultimate 64-Bit

View user profile http://Twitter.com/GeekPolice

Back to top Go down

Solved Re: paging

Post by charvie on Sun 15 Mar 2009, 2:28 am

yup! i used the limit option.

______________________________


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

charvie

Advanced Surfer
Advanced Surfer

Posts: 446
Joined: 2008-04-13
Operating System: Windows XP

View user profile

Back to top Go down

Solved Re: paging

Post by Doctor Inferno on Sun 15 Mar 2009, 5:16 am

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
The GeekPolice

Posts: 9935
Joined: 2007-12-26
Operating System: Windows 7 Ultimate 64-Bit

View user profile http://Twitter.com/GeekPolice

Back to top Go down

Solved Re: paging

Post by charvie on Wed 15 Apr 2009, 8:32 am

yep! it did work.. thnx a lot!

______________________________


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

charvie

Advanced Surfer
Advanced Surfer

Posts: 446
Joined: 2008-04-13
Operating System: Windows XP

View user profile

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum