Anda di halaman 1dari 9

Free Download Full Aplikasi Software

Free Download Full Aplikasi Software

Home

Menu 1

Menu 2
Search mov

Home Artikel Script Form Biodata PHP dan Langkah Membuatnya Menggunakan Xampp

Script Form Biodata PHP dan Langkah


Membuatnya Menggunakan Xampp
Posted by Inem paine Posted on 6:41 AM with No comments

Kali ini saya akan membahas tentang tugas saya yaitu PHP. Pengertian dan lengkapnya PHP
bisa cari di wikipedia yang lebih lengkap dan kali ini saya akan membahas tentang langkah
langkah membuat Script PHP menggunakan Xampp.
1.Langkah yang pertama adalah aktifkan Apache pada Xampp.
2.Kemudian mulai membuat folder pada Direktori C: kemudian masuk ke folder Xampp
masuk lagi ke folder Htdocs.
3.Kita membuat folder di dalam Htdocs, misal folder name Hamdani
4.Jika sudah, mulai membuka Dreamweaver.
5.Karna kita akan membuat PHP, maka kita pilih PHP.
6.Pada tab Code kita masukan Script di bawah ini.
<Html>
<head>
<title> Form Bidata By Hamdani </title>
</head>

<body>
<h1 >Masukan Biodata Sobat</h1>
<form name="formku" method="POST" action="#">
<table width="670" border="0">
</tr>
<tr>
<td width="163" size font="56">Nama</td>
<td width="326"> :
<input name="Nama" type="text" id="Nama"></td>
</tr>
<tr>
<td>Tanggal Lahir</td>
<td> : <select name="Tgl" id="Tgl" >
<option value="..">..</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<select name="Bln" id="Bln">
<option value="..">..</option>
<option value="1">1</option>

<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
<select name="Thn" id="Thn">
<option value="..">..</option>
<option value="1990">1990</option>
<option value="1991">1991</option>
<option value="1992">1992</option>
<option value="1993">1993</option>
<option value="1994">1994</option>
<option value="1995">1995</option>
<option value="1996">1996</option>
<option value="1997">1997</option>
<option value="1998">1998</option>
<option value="1999">1999</option>
<option value="2000">2000</option>
<option value="2001">2001</option>
</select></td>
</tr>
<tr>
<td>Jenis Kelamin</td>
<td>: <input type="radio" name="JK" value="Laki-Laki"> Laki-Laki <input type="radio"
name="JK"value="Perempuan" id="text"> Perempuan</td>
</tr>
<tr>
<td>Alamat</td>
<td><textarea name="Alamat" cols="50" rows="5" id="Alamat"></textarea></td>
</tr>
<td></td>
<td>
<input name="Kirim" type="submit" id="Kirim" value="Kirim" >
<input type="reset" name="Ulang" id="button" value="Ulang"></td>
</table>
<?php
$Nama=$_POST ["Nama"];
$Tgl=$_POST ["Tgl"];
$Bln=$_POST ["Bln"];
$Thn=$_POST ["Thn"];

$JK=$_POST ["JK"];
$Alamat=$_POST ["Alamat"];
$Kirim=$_POST ["Kirim"];
if (!empty($Kirim))
echo "<h1>Inilah Biodata Sobat</h1>";
echo "</br>";
echo "</br>";
echo "<table width='100%' border='0'>";
echo "<tr bgcolor=#CCCCCC>";
echo "<td width='300'>"."Nama : $Nama<td>";
echo "<tr bgcolor=white>";
echo "<td width='300'>"."Tanggal Lahir : $Tgl $Bln $Thn <td>";
echo "<tr bgcolor=#CCCCCC>";
echo "<td width='300'>"."Jenis Kelamin : $JK<td>";
echo "<tr bgcolor=white>";
echo "<td width='300'>"."Alamat : $Alamat<td>";
?>
</form>
</body>
</html>
7.Langkah ke 7 kita save pada folder yang tadi kita buat, seperti folder name Hamdani
8.Jangan lupa saat menyimpan kita pastikan hafal nama file tersebut, seperti Hamdani.php
9.Kita cek menggunakan Xampp dengan cara buka web browser.
10.Ketik "Localhost/Hamdani" Pada yang di beri warna merah adalah nama folder sobat tadi.

11.Langkah terakhir kita klik Hamdani.php yang di beri warna merah adalah nama file sobat
tadi.

12.Silahkan isi sesuka hati sobat. :D

Semoga sharing saya hari ini cukup bermanfaat buat sobat semua.
Terimakasih dan jangan lupa komen ia :D

Purchase Structured Settlements Mesothelioma Lawyers Secured Loan Calculator


Secured Loans Insurance Auto car free insurance online quote students debt
consolidation loans data recovery Denver adverse credit remortgages conference calling
companies irs tax lawyers Personal Injury Lawyer Auto Insurance Instant Car
Insurance Quote UK home owner loan Remortgaging buyer Structured Settlement
Injury Lawyers homeowner consolidation loans Structured Settlement Consumer Info
Arizona dui lawyers eloan mortgage Consolidation of Student Loan Student Loan
Consolidation Calculator Bad Credit Home Equity auto insurance
Share this article :

Related movie you might like to see :

Daftar Tehnologi Smartphone Tercang...

Cara Memasang Wifi dan Alat serta B...

Daftar Game Yang Release di Tahun 2...

Karya Seni Dari Barang Bekas Yang M...

Script Form Biodata PHP dan Langkah...

Cara Memperbanyak Follower Twitter ...

Download Driver Pack Solution 13.1 ...

Kisah Steve Jobs Jadi Manga Terbaru...

Labels: Artikel
0 comments:
Post a Comment
Prev Movie Next Movie Home

Labels

Adsense (4)

Animes (76)

Artikel (19)

Bleach (5)

Blog Saya (4)

Blogger Template (1)

Cerita Pendek (3)

Download (32)

Fairy Tail (9)

Game (7)

Naruto (44)

Naruto SD (4)

Novel (5)

One Piece (12)

OST (1)

Picture (1)

Sinopsis (3)

Tehnologi (1)

Tutorial Blogger (8)

Uzumaki Naruto (1)

Widget (2)

Popular Posts
Blog Archive
Copyright 2013. Free Download Full Aplikasi Software - All Rights Reserved
Proudly powered by Blogger