[PHP] Re: A follow up on my question about good coding practice [isset]

2004-06-07 Thread Justin Patrin
Al wrote: I could use one additional clarification regarding good practice. As I understand the php manual the following is acceptable. $foo= TRUE; if($foo) do.. ; where $foo is a binary; but not a variable. $foo is a boolean in this case, but it is still a variable, just like any oth

[PHP] Re: A follow up on my question about good coding practice [isset]

2004-06-06 Thread Ligaya Turmelle
how about: if (trim($foo) != '') Respectfully, Ligaya Turmelle "Al" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I could use one additional clarification regarding good practice. > > As I understand the php manual the following is acceptable. > > $foo= TRUE; > > if($foo) do.