Advertisement
ujiajah1

conditional statements

Aug 17th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.32 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <title></title>
  5.     </head>
  6.     <body>
  7.     <?php
  8.       $youName = "Yulia";
  9.       $youAge = 29;
  10.        
  11.         if($myName == "Rachelle")
  12.         {
  13.             echo "Hello Rachelle";
  14.         }
  15.         else {
  16.             echo "salah orang";
  17.         }
  18.  
  19.       ?>
  20.     </body>
  21. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement