For reference: http://www.blueshoes.org/en/developer/php_cheat_sheet/
> -----Original Message----- > From: Al [mailto:[EMAIL PROTECTED] > Sent: Sunday, June 06, 2004 7:47 PM > To: [EMAIL PROTECTED] > Subject: [PHP] A follow up on my question about good coding > practice [isset] > > > 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. > > Use isset($var) for variables and be careful with $var= ' '; etc. > because $var is assigned, i.e., "set". > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php