[PHP] 2 ifs embedded?

2009-07-31 Thread Miller, Terion
I need this to say : If row notes is not empty and is alpha echo notes How do I get the is alpha part in here; If (!empty($row['notes'])) { echo( $trimNotes ); } I tried. If (IsAlpha($row['notes'])) { echo( $trimNotes ); } But it broke the whole script. --Terion

Re: [PHP] 2 ifs embedded?

2009-07-31 Thread Ashley Sheridan
On Fri, 2009-07-31 at 06:53 -0700, Miller, Terion wrote: I need this to say : If row notes is not empty and is alpha echo notes How do I get the is alpha part in here; If (!empty($row['notes'])) { echo( $trimNotes ); } I tried. If (IsAlpha($row['notes'])) {

Re: [PHP] 2 ifs embedded?

2009-07-31 Thread m0s
Miller, Terion wrote: I need this to say : If row notes is not empty and is alpha echo notes How do I get the is alpha part in here; If (!empty($row['notes'])) { echo( $trimNotes ); } I tried. If (IsAlpha($row['notes'])) { echo( $trimNotes ); } But it broke

Re: [PHP] 2 ifs embedded?

2009-07-31 Thread Miller, Terion
On 7/31/09 8:58 AM, m0s d...@lenss.nl wrote: (!empty($row['notes']) IsAlpha($row['notes'])) I tried that and this one: If (!empty($row['notes']) ctype_alpha($row['notes'])) It didn't display the notes at all... And this one...doesn't display if the field has a 0 in it but I still need it

Re: [PHP] 2 ifs embedded?

2009-07-31 Thread Bastien Koert
On Fri, Jul 31, 2009 at 10:28 AM, Miller, Teriontmil...@springfi.gannett.com wrote: On 7/31/09 8:58 AM, m0s d...@lenss.nl wrote: (!empty($row['notes']) IsAlpha($row['notes'])) I tried that and this one: If (!empty($row['notes']) ctype_alpha($row['notes'])) It didn't display the notes

Re: [PHP] 2 ifs embedded?

2009-07-31 Thread Miller, Terion
On 7/31/09 9:53 AM, Bastien Koert phps...@gmail.com wrote: On Fri, Jul 31, 2009 at 10:28 AM, Miller, Teriontmil...@springfi.gannett.com wrote: On 7/31/09 8:58 AM, m0s d...@lenss.nl wrote: (!empty($row['notes']) IsAlpha($row['notes'])) I tried that and this one: If

Re: [PHP] 2 ifs embedded?

2009-07-31 Thread Bastien Koert
On Fri, Jul 31, 2009 at 10:59 AM, Miller, Teriontmil...@springfi.gannett.com wrote: On 7/31/09 9:53 AM, Bastien Koert phps...@gmail.com wrote: On Fri, Jul 31, 2009 at 10:28 AM, Miller, Teriontmil...@springfi.gannett.com wrote: On 7/31/09 8:58 AM, m0s d...@lenss.nl wrote:

RE: [PHP] 2 ifs embedded?

2009-07-31 Thread Chrome
On 7/31/09 9:53 AM, Bastien Koert phps...@gmail.com wrote: On Fri, Jul 31, 2009 at 10:28 AM, Miller, Teriontmil...@springfi.gannett.com wrote: On 7/31/09 8:58 AM, m0s d...@lenss.nl wrote: (!empty($row['notes']) IsAlpha($row['notes'])) I tried that and this one: If

Re: [PHP] 2 ifs embedded?

2009-07-31 Thread Miller, Terion
On 7/31/09 10:14 AM, Bastien Koert phps...@gmail.com wrote: On Fri, Jul 31, 2009 at 10:59 AM, Miller, Teriontmil...@springfi.gannett.com wrote: On 7/31/09 9:53 AM, Bastien Koert phps...@gmail.com wrote: On Fri, Jul 31, 2009 at 10:28 AM, Miller, Teriontmil...@springfi.gannett.com wrote:

Re: [PHP] 2 ifs embedded?

2009-07-31 Thread Jim Lucas
Miller, Terion wrote: On 7/31/09 10:14 AM, Bastien Koert phps...@gmail.com wrote: On Fri, Jul 31, 2009 at 10:59 AM, Miller, Teriontmil...@springfi.gannett.com wrote: On 7/31/09 9:53 AM, Bastien Koert phps...@gmail.com wrote: On Fri, Jul 31, 2009 at 10:28 AM, Miller,

Re: [PHP] 2 ifs embedded?

2009-07-31 Thread Miller, Terion
On 7/31/09 10:54 AM, Jim Lucas li...@cmsws.com wrote: Miller, Terion wrote: On 7/31/09 10:14 AM, Bastien Koert phps...@gmail.com wrote: On Fri, Jul 31, 2009 at 10:59 AM, Miller, Teriontmil...@springfi.gannett.com wrote: On 7/31/09 9:53 AM, Bastien Koert phps...@gmail.com wrote: On

Re: [PHP] 2 ifs embedded?

2009-07-31 Thread Miller, Terion
On 7/31/09 11:03 AM, Miller, Terion tmil...@springfi.gannett.com wrote: On 7/31/09 10:54 AM, Jim Lucas li...@cmsws.com wrote: Miller, Terion wrote: On 7/31/09 10:14 AM, Bastien Koert phps...@gmail.com wrote: On Fri, Jul 31, 2009 at 10:59 AM, Miller, Teriontmil...@springfi.gannett.com

Re: [PHP] 2 ifs embedded? (RESOLVED)

2009-07-31 Thread Miller, Terion
On 7/31/09 10:54 AM, Jim Lucas li...@cmsws.com wrote: Miller, Terion wrote: On 7/31/09 10:14 AM, Bastien Koert phps...@gmail.com wrote: On Fri, Jul 31, 2009 at 10:59 AM, Miller, Teriontmil...@springfi.gannett.com wrote: On 7/31/09 9:53 AM, Bastien Koert phps...@gmail.com wrote: On

Re: [PHP] 2 ifs embedded?

2009-07-31 Thread Jim Lucas
Miller, Terion wrote: On 7/31/09 11:03 AM, Miller, Terion tmil...@springfi.gannett.com wrote: On 7/31/09 10:54 AM, Jim Lucas li...@cmsws.com wrote: Miller, Terion wrote: On 7/31/09 10:14 AM, Bastien Koert phps...@gmail.com wrote: On Fri, Jul 31, 2009 at 10:59 AM, Miller,