Hi, I was just wondering if it was quicker to dip in and out of PHP in your markup or output a bulk of html in one echo?



PHP Code:
<form action="blah" method="post">
 <input type="submit" name="<?php echo $fieldnameSubmit?>" value="<?php echo $submitButtonText?>" />
Be quicker for the parser than...
PHP Code:
echo '
<form action="blah" method="post">
 <input type="submit" name="'
.$fieldnameSubmit.'" value="'.$submitButtonText.'" />
This is obviously a small form, but imagine it has lots of fields for a registration form for example. On a larger form the parser would be dipping in and out of and between html and php whereas for the second one it has more to output but hasn't got to start, stop sort of speak.