Re: [PHP] echo statements

2003-07-18 Thread Curt Zirzow
Jay Fitzgerald <[EMAIL PROTECTED]> wrote: > When echoing html code that will include variables from a while or if loop, > which method is best? > Method 1: echo " class=\"dbtables\">$employer"; > OR > Method 2: "$employer"; ?> method 2a: > If you would, please give reasons why to support you

Re: [PHP] echo statements

2003-07-18 Thread Chris Shiflett
--- Jay Fitzgerald <[EMAIL PROTECTED]> wrote: > When echoing html code that will include variables from a while or > if loop, which method is best? ... > Method 1: echo " class=\"dbtables\">$employer"; > OR > Method 2: "$employer"; ?> Method 2 is my choice. > If you would, please give reasons wh

[PHP] echo statements

2003-07-18 Thread Jay Fitzgerald
When echoing html code that will include variables from a while or if loop, which method is best? Method 1: echo "$employer"; OR Method 2: If you would, please give reasons why to support your opinion. Thanks -- Jay Fitzgerald, Design Director - CPW-A, CPWDS-A, CPWDV-A, CECM-A, CWCSB-A Bayou Int