Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8495421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:34:10+00:00 2026-06-10T23:34:10+00:00

I have simple search engine with paginated results in my codeigniter application. When I

  • 0

I have simple search engine with paginated results in my codeigniter application. When I send results into function, it queries database and makes pagination:

 function keyword_search($keyword, $from){...}

I have simple, basic codeigniter pagination based on standard pagination library. It all goes well until I’m trying to use national polish characters in search, i’m using

urldecode($keyword) 

inside keyword_search() and it queries database well, but the problem is, when I’m trying to paginate. The perfect solution would be to convert these national characters into some universal ones, push this value in url and when my APP will se this converted string in URL, it will search for my native not-converted string (it’s good to not have national chars for SEO purposes too).

For making a solution, let’s say, that function, which converts polish characters into english ones is

$this->polish_characters($keyword);

Where should I keep my original search string, which I want to search for by the time I will be pushing the converted one in URL for pagination purposes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T23:34:11+00:00Added an answer on June 10, 2026 at 11:34 pm

    For conversion, you can use PHP’s iconv.

    And since you’re using utf8_general_ci, you will still be able to search for both versions of the keyword. Just use like and MySQL will be able to pull words like ‘máša’ even though you supply ‘masa’ as a search parameter:

    SELECT * FROM myTable WHERE keyword like 'masa'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple search engine which echo's out results in a table with
In our desktop application, we have implemented a simple search engine using an inverted
I currently have a simple search engine which searches a column in my database
I have been playing around a bit with a fairly simple, home-made search engine,
I have a problem. I made a simple search engine which searches by brand
I have a simple search working in my rails app, but it only searches
I have a simple search box that it hidden until hover(over) and hides again
I have a simple search form with a box and a button. <form action
On my homepage I have a simple search form. The user can enter some
I have a simple rails search implemented in my app. At the time I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.