I'm working on a search engine for my website.

It seems that I ALMOST have it all working pretty nicely except a little thing. What happens is that the amount of results specified in $limit is displayed on the first page, then the following pages display the exact same results rather than continuing on with the next few matches.

Whatever the limit is changed to, that amount of relevant results are displayed it's just after that where it messes up.

If you are interested and think you can help me fix this, please let me know and I can send you the code.

Don't worry, managed to fix it!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.