Posts

Membuat Kalkulator Sederhana dengan PHP

Ketik kode php berikut dan simpan pada webserver local XAMPP di folder htdoc. Dengan nama file kalkulator.php <html> <head>Membuat Kalkulator Sederhana </head> <body> <form action="" method="post"> <h2>Kalkulator Online</h2> <input type="text" name="angka1" size="5" /> <select name="operasi">    <option value="*">x</option>    <option value="/">:</option>    <option value="+">+</option>    <option value="-">-</option> </select> <input type="text" name="angka2" size="5" /> <input type="submit" value="Hasil =" /> <?php if ($_POST[angka1] && $_POST[angka2]) {      if ($_POST[operasi] == '*') {           echo $_POST[angka1]*$_POST[angka2];      } elseif ($_POST[operasi] == '/')...

POST TES 13 Januari 2018

Image

gallery.html

<html> <head>    <title>Latihan Membuat Web Statis Sederhana</title> </head> <body text="#000000">   <table border="1" align="center" witdh=70%>       <tr> <td><img src="smpit.jpg" /></td>   <td width="1000" height="100" align="center" bgcolor="#3A2BD1"><font size="16"  face="Arial">SMPIT BUNAYYA</font><br>     <hr width="500"> <br><marquee direction="right">Sekolah Berbasis Al-Qur'an, Sains dan Teknologi Informasi</marquee></td>       </tr>       <tr valign="top"><td height="350" bgcolor="yellow"> <font face="Century_Gothic"> <a href=index.html>:::Home:::</a><br> <a href=profil.html>:::Profil:::</a><br> <a href=daf...

roster.html

<html> <head>    <title>Latihan Membuat Web Statis Sederhana</title> </head> <body text="#000000">   <table border="1" align="center" witdh=70%>       <tr> <td><img src="smpit.jpg" /></td>   <td width="1000" height="100" align="center" bgcolor="#3A2BD1"><font size="16"  face="Arial">SMPIT BUNAYYA</font><br>     <hr width="500"> <br><marquee direction="right">Sekolah Berbasis Al-Qur'an, Sains dan Teknologi Informasi</marquee></td>       </tr>       <tr valign="top"><td height="350" bgcolor="yellow"> <font face="Century_Gothic"> <a href=index.html>:::Home:::</a><br> <a href=profil.html>:::Profil:::</a><br> <a href=daf...

index.html

<html> <head>    <title>Latihan Membuat Web Statis Sederhana</title> </head> <body text="#000000">   <table border="1" align="center" witdh=70%>       <tr> <td><img src="smpit.jpg" /></td>   <td witdh="1000" height="100" align="center" bgcolor="#3A2BD1"><font size="16"  face="Arial">SMPIT BUNAYYA</font><br>     <hr witdh="500"> <br><marquee direction="right">Sekolah Berbasis Al-Qur'an, Sains dan Teknologi Informasi</marquee></td>       </tr>       <tr valign="top"><td height="350" bgcolor="yellow"> <font face="Century_Gothic"> <a href=index.html>:::Home:::</a><br> <a href=profil.html>:::Profil:::</a><br> <a href=daf...

admin.html

<html> <head>    <title>Latihan Membuat Web Statis Sederhana</title> </head> <body text="#000000">   <table border="1" align="center" witdh=70%>       <tr> <td><img src="smpit.jpg" /></td>   <td width="1000" height="100" align="center" bgcolor="#3A2BD1"><font size="16"  face="Arial">SMPIT BUNAYYA</font><br>     <hr width="500"> <br><marquee direction="right">Sekolah Berbasis Al-Qur'an, Sains dan Teknologi Informasi</marquee></td>       </tr>       <tr valign="top"><td height="350" bgcolor="yellow"> <font face="Century_Gothic"> <a href=index.html>:::Home:::</a><br> <a href=profil.html>:::Profil:::</a><br> <a href=daf...

daftar.html

<html> <head>    <title>Latihan Membuat Web Statis Sederhana</title> </head> <body text="#000000">   <table border="1" align="center" witdh=70%>       <tr> <td><img src="smpit.jpg" /></td>   <td width="1000" height="100" align="center" bgcolor="#3A2BD1"><font size="16"  face="Arial">SMPIT BUNAYYA</font><br>     <hr width="500"> <br><marquee direction="right">Sekolah Berbasis Al-Qur'an, Sains dan Teknologi Informasi</marquee></td>       </tr>       <tr valign="top"><td height="350" bgcolor="yellow"> <font face="Century_Gothic"> <a href=index.html>:::Home:::</a><br> <a href=profil.html>:::Profil:::</a><br> <a href=daf...