So I have a script that will allow me to input some text into the database using an input form, obviously this text might have spaces in, I then have a script that will fetch data according to that text and echo the text on a page with the other details in its row.
My problem is, what do I do for the spaces, how can I include hyphens or plus signs in my request for the data according to to its row like so:
mytext.php?text=Hello-There
And allow the Select query to not account for the hyphens as part of the text (or else it will not select the row – has to be exact)
How would I do this?
If I get you right, you can use the following for request
and then for processing the request, you can use