trim() white space from record set
| From: | msa | Date: | Wed, 21 Jul 2004 17:25:48 +0000 |
| Subject: | trim() white space from record set | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-191339@lists.php.net to get a copy of this message | ||
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!!