Hi,
Ive got a search script that uses a text area. The user enters search strings in this way:
search1
search2
carriage return
If they leave a blank space or carriage return at the end of the list then the search brings up everything in the database.
How can i just search for strings and not search the database for whitespace or blanks etc? Using preg_match? Im not sure what expressions are used for such filtering.
Any help much apreciated.