SHARE
TWEET

Untitled

Rofihimam Sep 18th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>Latihan Pertama Rofi'ul Himam</title>
  5. </head>
  6. <body>
  7.     <h1>DATA PRIBADI SAYA</h1>
  8.     <?php
  9.     // Deklarasi Variable
  10.     $nama_saya = "Rofi'ul Himam";
  11.     $kelas = "XI RPL 2";
  12.     $nis = "1819117635";
  13.     $umur = 16;
  14.     $berat_badan = 55;
  15.    
  16.     /* dibawah ini iadalah script untuk menampilkan data yang telah dideklarasikan diatas */
  17.  
  18.     echo ("Nama saya $nama_saya <br />");
  19.     echo "Sekarang kelas $kelas dan NIS saya $nis <br />";
  20.     echo 'Umur saya sekarang adalah '.$umur .' tahun <br />';
  21.     echo "Berat badan saya $berat_badan Kg";
  22.     ?>
  23. </body>
  24. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top