trim() white space from record set

message from msa on 21 Jul 2004
I created a search form with multiple search parameters. It returns nothing
if there is a space after their text entry or if they hit return in the text
area.

$coltitle_rsResults = "0";
if (isset($_GET['Title'])) {
$coltitle_rsResults = (get_magic_quotes_gpc()) ? $_GET['Title'] :
addslashes($_GET['Title']);

where do i put the trim?

trim($_GET['Title'] ????????correct?

I have tried it in several places to no avail.

THANKS!!
 

Archived message: trim() white space from record set (Macromedia Dreamweaver)