Hello,

what is better syntax (for perfomance option, not code-style)
e.g. html code out of php tags

<table>
<?php
while (...) {
?>
        <tr>
                <td><?php echo $something; ?></td>
                <td>text</td>
        </tr>
<?php
}
?>
</table>

or

<?php
$table = '<table>';
while (...)
$table .= '<tr><td>'.$something.'</td><td>text</td></tr>';
$table .= '</table>';
?>

Thank you.

Regards,
Michal Dvoracek                          [EMAIL PROTECTED]


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

Reply via email to