A php file uses a & lt ;? Php? & Gt; good or good? & Lt; title & gt; & lt ;? Php & nbsp; echo & nbsp; $ s ['title'];? & Gt; & lt;/title & gt; & lt; meta & nbsp; name = "description" & nbsp; con Good or better?
<?php echo $s['title'];?>
" />
echo ''.$s['title'].''
echo '
'
?>
Which specification should be used? One page
------ Solution --------------------
No specification for mixed encoding
Obviously, the first method should be clearer.
It is also in line with php's original intention:
PHP, or "PHP: Hypertext Preprocessor", is a widely used open-source multi-purpose scripting language. it is especially suitable for web development and can be embedded into HTML.
------ Solution --------------------
Use the first method :)
------ Solution --------------------
Yes. There is no difference in efficiency.
Write whatever you want.
------ Solution --------------------
The first method is preferred, and the second method is difficult to find if an error occurs.
------ Solution --------------------
First !!
------ Solution --------------------
I personally like the first one.
------ Solution --------------------
First, although I do not like it very much