Permalink
Browse files

조건문

  • Loading branch information...
1 parent 29b5550 commit ee7f4e31d8f61fa4f64324246500bf972ac99ab3 @egoing egoing committed Apr 30, 2015
Showing with 26 additions and 0 deletions.
  1. +26 −0 phpjs/6.php
View
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+</head>
+<body>
+ <h1>JavaScript</h1>
+ <script>
+ result = (1==2);
+ if(result){
+ document.write("");
+ } else {
+ document.write("거짓");
+ }
+ </script>
+ <h1>php</h1>
+ <?php
+ $result = (2==2);
+ if($result){
+ echo "";
+ } else {
+ echo "거짓";
+ }
+ ?>
+</body>
+</html>

0 comments on commit ee7f4e3

Please sign in to comment.