PHP ʖ²ἯTH
º/A
´ӠHTML ·ր뼯H1
PHP ֧³ֵı꼇Ϊ£º
=ד 6-1. ´ӠHTML ·ր뵄·½ʽ
1. ?php echo("if you want to serve XHTML or XML documents, do like this\n");? 2.? echo ("this is the simplest, an SGML processing instruction\n");? ?= expression? This is a shortcut for "? echo expression?" 3. script language="php" echo ("some editors (like FrontPage) don't like processing instructions"); /script 4.% echo ("You may optionally use ASP-style tags");% %= $variable; # This is a shortcut for "% echo.. ."%
Ԛ PHP Ťփ΄¼þ¿ªƴѡϮ asp_tags ½«¼¤»µڋĖַ½ʽ¡£
ע: ASP ·縱µı꼇̭¼ӓڠPHP 3.0.4
PHP ԊЭĺʹӃȧςµĽṹ£º
?php if ($expression) {? strong This is true. /strong ?php} else {? strong This is false. /strong ?php}?
º/A
ưµ㼯A
ӯє²ο¼
ɏһ¼¶