Re: [PHP] trim() white space from record set

2004-07-22 Thread David Robley
On Thu, 22 Jul 2004 05:50, Msa wrote: > aaah, simple for you.. > > I have to fit that line into the following: > > $colauthor_rsResults = "0"; > if (isset($_GET['Author'])) { > $colauthor_rsResults = (get_magic_quotes_gpc()) ? $_GET['Author'] : > addslashes($_GET['Author']); > } > > and don't

Re: [PHP] trim() white space from record set

2004-07-21 Thread msa
> > > > thanks guys...but with all of the >>>> in the message, the syntax is not > > > > coming through. > > > > > > > > I have tried adding the trim() line in several ways and it isn't > > working. > > > > can you hel

Re: [PHP] trim() white space from record set

2004-07-21 Thread Justin Patrin
gt; > > > > > > > > > > - Original Message - > > > From: "Justin Patrin" <[EMAIL PROTECTED]> > > > To: "John W. Holmes" <[EMAIL PROTECTED]> > > > Cc: "msa" <[EMAIL PROTECTED]>; <[EMAIL P

Re: [PHP] trim() white space from record set

2004-07-21 Thread melissa atchley
;Justin Patrin" <[EMAIL PROTECTED]> > > To: "John W. Holmes" <[EMAIL PROTECTED]> > > Cc: "msa" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > > Sent: Wednesday, July 21, 2004 1:12 PM > > Subject: Re: [PHP] trim() white space from r

Re: [PHP] trim() white space from record set

2004-07-21 Thread Justin Patrin
line in several ways and it isn't working. > can you help me with the exact syntax? > > > > - Original Message - > From: "Justin Patrin" <[EMAIL PROTECTED]> > To: "John W. Holmes" <[EMAIL PROTECTED]> > Cc: "msa" <[E

Re: [PHP] trim() white space from record set

2004-07-21 Thread melissa atchley
ROTECTED]> To: "John W. Holmes" <[EMAIL PROTECTED]> Cc: "msa" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 21, 2004 1:12 PM Subject: Re: [PHP] trim() white space from record set > On Wed, 21 Jul 2004 12:41:55 -0400, John W. Holmes > <

Re: [PHP] trim() white space from record set

2004-07-21 Thread msa
thanks for the helpthe syntax is wrong somewhereparentasis.colonsI don't know where the error is $coltitle_rsResults = "0"; if (isset($_GET['Title'])) { $_GET['title'] = trim($_GET['title']); $coltitle_rsResults = (get_magic_quotes_gpc()) ? $_GET['Title'] : addslashes($_GET['T

Re: [PHP] trim() white space from record set

2004-07-21 Thread Justin Patrin
On Wed, 21 Jul 2004 12:41:55 -0400, John W. Holmes <[EMAIL PROTECTED]> wrote: > msa wrote: > > > 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"

Re: [PHP] trim() white space from record set

2004-07-21 Thread John W. Holmes
msa wrote: 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'])) { $_GET['title'] = trim($_GET['title']); $coltitle_rsResults = (get_magi

[PHP] trim() white space from record set

2004-07-21 Thread msa
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($_G