"Jay Fitzgerald" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> When echoing html code that will include variables from a while or if
loop,
> which method is best?
>  Method 1: echo "<td align=\"left\" VALIGN=\"top\"><font
> class=\"dbtables\">$employer</font></td>";
>  OR
>  Method 2: <td align="left" valign="top"><font class="dbtables"><?php echo
> "$employer"; ?></font></td>
>  If you would, please give reasons why to support your opinion.
>  Thanks

Method 3:  <font class="dbtables"><?= $employer;?></font>
- Kevin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to