Posted by Vladimir Ghetau on 06/14/07 17:46
> echo "<div class=\"someclass\">"
>
> or
>
> ?><div class="someclass"><?php
I would go for
echo '<div class="someclass">
<p>'. $some_variable_here .'</p>
</div>';
but also, I like the idea of separating the code from the HTML by
using templates or simply
<div class="someclass">
<p><?php echo $some_variable_here; ?></p>
</div>
Both look easy and simply to ....read.
Cheers
Vladimir
Navigation:
[Reply to this message]
|