窗体顶端窗体底端PHP3的程序模式有三种方法从HTML进入"PHP程序模式": 第一种方法:<? PHP3语句;?> 如:<?echo("thisisthesimplest,anSGMLprocessinginstruction\n");?> 第二种方法: <?PHP PHP3语句;?>如:<?phpecho("ifyouwanttoserveXMLdocuments,dolikethis\n");?> 第三种方法: <scriptlanguage="php"> PHP3语句; </script>如:<scriptlanguage="php"> echo("someeditors(likeFrontPage)don'tlikeprocessinginstructions"); </script>
PHP简明教程 -- PHP3的程序模式 来自淘豆网m.daumloan.com转载请标明出处.