I posted the exact same question a while ago, because i know that ASP does
slow down when you jump in and out of the asp dll.
I tried benchmarking it, and asked my geekiest of geek friends. All results
thus far point to the fact that both work just as well. and imho, the
alternate syntax is a lot easier to read when switching between large blocks
of html.
q.
-----Original Message-----
From: James Stevens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 10:23 AM
To: [EMAIL PROTECTED]
Subject: [PHP] General Coding Question
Does it have any effect on performance in either case if a file is
completely done in PHP(1) or interspersed with PHP(2).
(1)
<?php
echo "<html>";
...
?>
(2)
<html>
...
<?php echo $forminput; ?>
...
Also, and this is personal preference, which is easier to read/debug?
James
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]