HighDots Forums  

trim() white space from record set

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss trim() white space from record set in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
msa
 
Posts: n/a

Default trim() white space from record set - 07-21-2004 , 01:25 PM






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!!



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.