[PHP] Newbie question about isset and binary conditionals

2004-06-07 Thread Al
I posted this previously; but the subject was misleading. I could use one additional clarification regarding good practice. As I understand the php manual the following is acceptable and I assume good practice. $foo= TRUE; if($foo) do.. ; where $foo is a binary; but not a variable.

[PHP] Newbie question about isset and binary conditionals

2004-06-07 Thread Al
I posted this previously; but the subject was misleading. I could use one additional clarification regarding good practice. As I understand the php manual the following is acceptable and I assume good practice. $foo= TRUE; if($foo) do.. ; where $foo is a binary; but not a variable.

RE: [PHP] Newbie question about isset and binary conditionals

2004-06-07 Thread Ford, Mike [LSS]
On 07 June 2004 14:04, Al wrote: I posted this previously; but the subject was misleading. You seem to have several possible misconceptions in your posting -- this may just be me misreading you, but anyway... I could use one additional clarification regarding good practice. As I understand

Re: [PHP] Newbie question about isset and binary conditionals

2004-06-07 Thread Al
That's a big help Mike. My server has the error level set such that my incorrect use of if($var) did not show undefined variables. Though everything seemed to work OK. I'm going my code and using if( TRUE or FALSE) isset() and empty() as appropriate. Al.. Mike Ford wrote: On 07 June