4.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <!DOCTYPE html> <html> <head> <meta charset= "utf-8" > </head> <body> <h1>javascript</h1> <script charset= "utf-8" > name = "egoing" ; document.write( "안녕하세요." +name); </script> <h1>php</h1> <?php $name = "egoing" ; echo "안녕하세요." . $name ; ?> </body> </html> |