jimib 0 Newbie Poster

I have a text box that I use as part of a search function.
Whenever the user searches for "bet" it finds the first string that includes "bet", as in "abet". That's OK. When the user searches for " bet " it finds the first instance of " bet ". Still OK. Now, I have a "Next" button that searces for the next instance. It works, but the blanks in " bet " are gone and it finds "abet". What is happening is that the next button is an href that has as a parameter the contents of the search string " bet ", but when I request it, I get "bet". Does anyone have any idea how to override this behavior?

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.