Modul ini membahas penggunaan tag-tag dasar HTML untuk membuat halaman web seperti format halaman, gaya teks, dan pengaturan tata letak teks. Modul ini juga membahas cara membuat daftar tak berurut dan tabel menggunakan tag seperti <ul>, <ol>, <li>, <dl>, <dt>, <dd>, dan <table>.
Modul ini memberikan panduan untuk mengedit template website dengan PHP dan MySQL. Template digunakan untuk meningkatkan efisiensi waktu dan hasil desain. Langkah-langkahnya meliputi mencari template yang sesuai, mengunduh dan mengeditnya dengan mengubah link antar halaman dan menambahkan skrip PHP dan CSS.
Dokumen tersebut memperkenalkan Muhammad Yusuf beserta pengalamannya sebagai pengembang konten e-learning dan pengalamannya sebagai Microsoft Student Partner. Selanjutnya dokumen tersebut menjelaskan pengertian HTML, tag-tag dasar HTML beserta contoh kode HTML sederhana. "
Dokumen tersebut memberikan tutorial dasar pembuatan website menggunakan bahasa pemrograman HTML dan database MySQL. Terdiri dari penjelasan tentang instalasi perangkat lunak XAMPP, struktur dasar dokumen HTML, dan cara membuat database serta autentikasi login menggunakan PHP dan MySQL.
Langkah demi langkah menguasai html 5 (versi alpha)T Ghazali
1. Dokumen tersebut membahas pengantar HTML 5 dan penulisan dasar tag-tag HTML 5 seperti DOCTYPE, head, title, body, komentar, dan meta.
2. Tag-tag dasar lain seperti heading, paragraf, penekanan, gambar, iframe, tabel, dan form juga dibahas penulisan dasarnya.
3. HTML 5 berbeda dari versi sebelumnya dan memiliki fitur-fitur baru seperti multimedia dan interaktif untuk membuat konten web.
This document discusses various web development tools. It begins by defining web development tools as those that allow developers to test and debug code using technologies like CSS, HTML, JavaScript. Popular tools mentioned include Chrome Developer Tools, Firebug, FirePHP, and IE Developer Tools. Each tool is briefly described, noting what technologies it supports (CSS, JavaScript debugging etc), how to access it (keyboard shortcuts, menus), and key features. The document provides a high-level overview of the most commonly used development tools.
The document discusses the horror genre and its various subgenres. It defines the purpose and conventions of the main horror genre, which is to scare audiences. It also outlines several classic horror films that helped establish the genre. Additionally, it examines several horror subgenres like comedy horror, supernatural horror, and documentary horror. It provides examples of films for each subgenre and discusses their purposes, such as providing humor to fears for comedy horror or realism for documentary horror. It also notes that the horror comedy subgenre was established in the 1920s to appeal to broader audiences by adding humor.
Modul ini membahas penggunaan tag-tag dasar HTML untuk membuat halaman web seperti format halaman, gaya teks, dan pengaturan tata letak teks. Modul ini juga membahas cara membuat daftar tak berurut dan tabel menggunakan tag seperti <ul>, <ol>, <li>, <dl>, <dt>, <dd>, dan <table>.
Modul ini memberikan panduan untuk mengedit template website dengan PHP dan MySQL. Template digunakan untuk meningkatkan efisiensi waktu dan hasil desain. Langkah-langkahnya meliputi mencari template yang sesuai, mengunduh dan mengeditnya dengan mengubah link antar halaman dan menambahkan skrip PHP dan CSS.
Dokumen tersebut memperkenalkan Muhammad Yusuf beserta pengalamannya sebagai pengembang konten e-learning dan pengalamannya sebagai Microsoft Student Partner. Selanjutnya dokumen tersebut menjelaskan pengertian HTML, tag-tag dasar HTML beserta contoh kode HTML sederhana. "
Dokumen tersebut memberikan tutorial dasar pembuatan website menggunakan bahasa pemrograman HTML dan database MySQL. Terdiri dari penjelasan tentang instalasi perangkat lunak XAMPP, struktur dasar dokumen HTML, dan cara membuat database serta autentikasi login menggunakan PHP dan MySQL.
Langkah demi langkah menguasai html 5 (versi alpha)T Ghazali
1. Dokumen tersebut membahas pengantar HTML 5 dan penulisan dasar tag-tag HTML 5 seperti DOCTYPE, head, title, body, komentar, dan meta.
2. Tag-tag dasar lain seperti heading, paragraf, penekanan, gambar, iframe, tabel, dan form juga dibahas penulisan dasarnya.
3. HTML 5 berbeda dari versi sebelumnya dan memiliki fitur-fitur baru seperti multimedia dan interaktif untuk membuat konten web.
This document discusses various web development tools. It begins by defining web development tools as those that allow developers to test and debug code using technologies like CSS, HTML, JavaScript. Popular tools mentioned include Chrome Developer Tools, Firebug, FirePHP, and IE Developer Tools. Each tool is briefly described, noting what technologies it supports (CSS, JavaScript debugging etc), how to access it (keyboard shortcuts, menus), and key features. The document provides a high-level overview of the most commonly used development tools.
The document discusses the horror genre and its various subgenres. It defines the purpose and conventions of the main horror genre, which is to scare audiences. It also outlines several classic horror films that helped establish the genre. Additionally, it examines several horror subgenres like comedy horror, supernatural horror, and documentary horror. It provides examples of films for each subgenre and discusses their purposes, such as providing humor to fears for comedy horror or realism for documentary horror. It also notes that the horror comedy subgenre was established in the 1920s to appeal to broader audiences by adding humor.
The document contains planning for an assignment on the topic of music, locations, and social actors. It includes proposed music selections, potential filming locations around London including a church, mosque, and schools. It also researches potential public interview subjects like students and the elderly, as well as expert interview subjects like a priest, scientist, and religious teacher. Locations are proposed for conducting these interviews. Interview techniques are outlined, and health and safety risks like refusing to be filmed or interviewing alone are identified along with precautions.
El documento habla sobre las celebraciones de Semana Santa en un colegio. Invita a la comunidad educativa a reflexionar sobre el significado del perdón y a celebrarlo juntos. Detalla las diferentes actividades y misas planeadas para conmemorar la Pascua, incluyendo una celebración del Perdón para las familias y la comunidad el martes 19 de abril.
En el Colegio Santiago de las Atalayas, los estudiantes de diferentes cursos realizan cada mes o en fechas especiales un acto conmemorativo en el que se enfoca en un tema específico. Cada curso elige a por lo menos un estudiante para participar y proyectar la unión de la institución. Dependiendo del tema, cada curso selecciona al estudiante que mejor cumpla con las cualidades propuestas. La izada de bandera permite que los estudiantes muestren sus talentos y habilidades ante el público.
O documento fornece informações sobre as principais cidades e locais do Egito. As três frases mais importantes são:
1) O Cairo é a capital do Egito e a maior cidade do mundo árabe e da África.
2) Gizé é famosa pelas Pirâmides e pela Esfinge, construídas durante o Império Antigo.
3) Alexandria, fundada por Alexandre Magno, foi um importante centro cultural do mundo antigo.
The document contains examples of IP address calculations and subnetting. It includes:
1) Examples of subnet calculations for various IP addresses and subnet masks
2) A table to complete with IP addresses, subnet masks, subnets, and broadcast addresses
3) Validation of IP addresses to determine if they are valid or invalid for given subnets
4) Calculation of the number of hosts and subnets for a given IP range using subnet masking
1) A dengue é uma doença febril transmitida pelo mosquito Aedes aegypti que é um dos principais problemas de saúde mundiais.
2) Existem quatro sorotipos do vírus da dengue: DEN-1, DEN-2, DEN-3 e DEN-4.
3) O mosquito transmite o vírus ao picar pessoas infectadas e se infecta ao se alimentar de sangue durante o período febril inicial.
Ryan O'Link is seeking a position that utilizes his experience providing excellent customer service. He has skills in communicating clearly with customers and coworkers, using programs like MS Word and Excel, and organizing his work efficiently. His resume lists experience as a Patient Care Representative and Customer Service Representative, where he scheduled deliveries and addressed patient needs, created forms, and assisted other teams in meeting goals. He aims to join a team focused on customer service.
O documento discute as tendências futuras da educação com base nas opiniões de especialistas. A educação será mais personalizada com foco no aluno, usando tecnologias como tablets em salas de aula híbridas. Os professores terão um papel de tutor para orientar os alunos em seus aprendizados individuais em vez de serem a única fonte de conhecimento.
Este documento describe la belleza de los patios cordobeses en primavera. Los patios están llenos de flores que florecen y deslumbran con su esplendor. Cada patio parece una obra de arte, con flores colgando, trepando y adornando cada rincón. La luz y las flores crean un espectáculo único que llena los sentidos de quien lo contempla.
El Día de la Tierra es un evento anual celebrado el 22 de abril para demostrar apoyo a la protección del medio ambiente. Creado en 1970, ha crecido para convertirse en un evento mundial donde más de 1 mil millones de personas en 192 países participan en actividades locales, nacionales y globales cada año para demostrar su compromiso con el planeta. El Día de la Tierra nos recuerda a todos que debemos trabajar juntos para proteger nuestro hogar y hacer del mundo un lugar más sostenible para las generaciones futuras.
Village Livorno na Freguesia - Ligue (21)3091-0191lucianobatista
Um excelente prédio na freguesia com 46 unidades, coberturas duplex,apartamento de 2 e 3 quartos,e ainda com uma maravilhosa área de lazer com piscina adulto e infantil, salão de jogos, espaço gourmet e muito mais para você e sua família.
Ligue (21) 3091-0191 - 8372-3822
Avenged Sevenfold adalah band metalcore asal Amerika Serikat. Album ketiga mereka City of Evil dirilis tahun 2005 dan mendapatkan kesuksesan besar dengan single "Bat Country". Kesuksesan album ini membawa mereka menjadi headliner di festival musik ternama seperti Ozzfest. Album self-titled keempat mereka dirilis 2007 dan terjual lebih dari 500.000 kopi.
1. Dokumen tersebut merupakan laporan proyek aplikasi website klub renang yang dikerjakan oleh siswa SMK.
2. Terdapat instalasi software pengembang XAMPP, rancangan aplikasi berupa flowchart, dan pembuatan aplikasi website beserta databasenya.
3. Aplikasi website tersebut terdiri dari 6 menu utama.
The document contains planning for an assignment on the topic of music, locations, and social actors. It includes proposed music selections, potential filming locations around London including a church, mosque, and schools. It also researches potential public interview subjects like students and the elderly, as well as expert interview subjects like a priest, scientist, and religious teacher. Locations are proposed for conducting these interviews. Interview techniques are outlined, and health and safety risks like refusing to be filmed or interviewing alone are identified along with precautions.
El documento habla sobre las celebraciones de Semana Santa en un colegio. Invita a la comunidad educativa a reflexionar sobre el significado del perdón y a celebrarlo juntos. Detalla las diferentes actividades y misas planeadas para conmemorar la Pascua, incluyendo una celebración del Perdón para las familias y la comunidad el martes 19 de abril.
En el Colegio Santiago de las Atalayas, los estudiantes de diferentes cursos realizan cada mes o en fechas especiales un acto conmemorativo en el que se enfoca en un tema específico. Cada curso elige a por lo menos un estudiante para participar y proyectar la unión de la institución. Dependiendo del tema, cada curso selecciona al estudiante que mejor cumpla con las cualidades propuestas. La izada de bandera permite que los estudiantes muestren sus talentos y habilidades ante el público.
O documento fornece informações sobre as principais cidades e locais do Egito. As três frases mais importantes são:
1) O Cairo é a capital do Egito e a maior cidade do mundo árabe e da África.
2) Gizé é famosa pelas Pirâmides e pela Esfinge, construídas durante o Império Antigo.
3) Alexandria, fundada por Alexandre Magno, foi um importante centro cultural do mundo antigo.
The document contains examples of IP address calculations and subnetting. It includes:
1) Examples of subnet calculations for various IP addresses and subnet masks
2) A table to complete with IP addresses, subnet masks, subnets, and broadcast addresses
3) Validation of IP addresses to determine if they are valid or invalid for given subnets
4) Calculation of the number of hosts and subnets for a given IP range using subnet masking
1) A dengue é uma doença febril transmitida pelo mosquito Aedes aegypti que é um dos principais problemas de saúde mundiais.
2) Existem quatro sorotipos do vírus da dengue: DEN-1, DEN-2, DEN-3 e DEN-4.
3) O mosquito transmite o vírus ao picar pessoas infectadas e se infecta ao se alimentar de sangue durante o período febril inicial.
Ryan O'Link is seeking a position that utilizes his experience providing excellent customer service. He has skills in communicating clearly with customers and coworkers, using programs like MS Word and Excel, and organizing his work efficiently. His resume lists experience as a Patient Care Representative and Customer Service Representative, where he scheduled deliveries and addressed patient needs, created forms, and assisted other teams in meeting goals. He aims to join a team focused on customer service.
O documento discute as tendências futuras da educação com base nas opiniões de especialistas. A educação será mais personalizada com foco no aluno, usando tecnologias como tablets em salas de aula híbridas. Os professores terão um papel de tutor para orientar os alunos em seus aprendizados individuais em vez de serem a única fonte de conhecimento.
Este documento describe la belleza de los patios cordobeses en primavera. Los patios están llenos de flores que florecen y deslumbran con su esplendor. Cada patio parece una obra de arte, con flores colgando, trepando y adornando cada rincón. La luz y las flores crean un espectáculo único que llena los sentidos de quien lo contempla.
El Día de la Tierra es un evento anual celebrado el 22 de abril para demostrar apoyo a la protección del medio ambiente. Creado en 1970, ha crecido para convertirse en un evento mundial donde más de 1 mil millones de personas en 192 países participan en actividades locales, nacionales y globales cada año para demostrar su compromiso con el planeta. El Día de la Tierra nos recuerda a todos que debemos trabajar juntos para proteger nuestro hogar y hacer del mundo un lugar más sostenible para las generaciones futuras.
Village Livorno na Freguesia - Ligue (21)3091-0191lucianobatista
Um excelente prédio na freguesia com 46 unidades, coberturas duplex,apartamento de 2 e 3 quartos,e ainda com uma maravilhosa área de lazer com piscina adulto e infantil, salão de jogos, espaço gourmet e muito mais para você e sua família.
Ligue (21) 3091-0191 - 8372-3822
Avenged Sevenfold adalah band metalcore asal Amerika Serikat. Album ketiga mereka City of Evil dirilis tahun 2005 dan mendapatkan kesuksesan besar dengan single "Bat Country". Kesuksesan album ini membawa mereka menjadi headliner di festival musik ternama seperti Ozzfest. Album self-titled keempat mereka dirilis 2007 dan terjual lebih dari 500.000 kopi.
1. Dokumen tersebut merupakan laporan proyek aplikasi website klub renang yang dikerjakan oleh siswa SMK.
2. Terdapat instalasi software pengembang XAMPP, rancangan aplikasi berupa flowchart, dan pembuatan aplikasi website beserta databasenya.
3. Aplikasi website tersebut terdiri dari 6 menu utama.
Dokumen ini berisi laporan proyek pembuatan website pribadi bernama "AndraBlog" beserta databasenya. Website ini dibuat menggunakan bahasa PHP dan database MySQL untuk memenuhi tugas akhir mata pelajaran RPL.
Dokumen tersebut merupakan laporan proyek aplikasi website bunga anggrek yang membahas instalasi perangkat lunak pengembang seperti XAMPP dan Adobe Fireworks, rancangan aplikasi berupa flowchart, serta pembuatan menu dan halaman website seperti home, profile, dan galeri mengenai anggrek.
Tutoria ini membahas cara membuat website sederhana menggunakan Dreamweaver atau Notepad dengan langkah-langkah sebagai berikut: (1) membuat folder baru dan menyimpan file, (2) membuat halaman utama dengan menambahkan tabel dan gambar, (3) menambahkan halaman foto dan profil, (4) membuat database dan tabel untuk kontak, (5) menghubungkan website dengan database. Tutorial ini memberikan panduan praktis dalam membangun struktur dasar sebu
CSS digunakan untuk mengontrol tampilan halaman web yang dibuat dengan HTML dan XHTML. CSS dibagi menjadi tiga yaitu inline, internal, dan external style sheet. CSS memungkinkan pengaturan format teks, warna, ukuran, tata letak, dan gaya lainnya untuk membuat tampilan halaman web lebih rapi dan konsisten.
Makalah ini membahas panduan pembuatan website menggunakan software Dreamweaver. Terdiri dari dua bab utama yaitu pendahuluan dan isi. Pendahuluan menjelaskan latar belakang dan tujuan pembuatan makalah. Bab isi membahas pengenalan Dreamweaver, cara membuat halaman pertama (index) meliputi define site, membuat layout menggunakan tabel, memformat teks dan gambar, serta membuat hyperlink. Bab selanjutnya membahas penggunaan frame untuk memb
Modul Ajar Bahasa Indonesia Kelas 7 Fase D Kurikulum Merdeka - [abdiera.com]Fathan Emran
Modul Ajar Bahasa Indonesia Kelas 7 SMP/MTs Fase D Kurikulum Merdeka - abdiera.com. Modul Ajar Bahasa Indonesia Kelas 7 SMP/MTs Fase D Kurikulum Merdeka. Modul Ajar Bahasa Indonesia Kelas 7 SMP/MTs Fase D Kurikulum Merdeka. Modul Ajar Bahasa Indonesia Kelas 7 SMP/MTs Fase D Kurikulum Merdeka. Modul Ajar Bahasa Indonesia Kelas 7 SMP/MTs Fase D Kurikulum Merdeka. Modul Ajar Bahasa Indonesia Kelas 7 SMP/MTs Fase D Kurikulum Merdeka.
Modul Ajar Bahasa Inggris Kelas 10 Fase E Kurikulum MerdekaFathan Emran
Modul Ajar Bahasa Inggris Kelas 10 SMA/MA Fase E Kurikulum Merdeka - abdiera.com. Modul Ajar Bahasa Inggris Kelas 10 SMA/MA Fase E Kurikulum Merdeka. Modul Ajar Bahasa Inggris Kelas 10 SMA/MA Fase E Kurikulum Merdeka.
Pendidikan inklusif merupakan sistem pendidikan yang
memberikan akses kepada semua peserta didik yang
memiliki kelainan, bakat istimewa,maupun potensi tertentu
untuk mengikuti pendidikan maupun pembelajaran dalam
satu lingkungan pendidikan yang sama dengan peserta didik
umumlainya
1. 2013
Nama : Wahyu Aji S
Kelas : X RPL 2
TUTORIAL TUGAS AKHIR
SMK Negeri 1 Depok
Jl. Raya Tapos Gg. Bhakti Suci No. 100 Kel. Cimpaeun
Kec. Tapos - Kota Depok, Jawa Barat Telp. (021) 87907233
Website: www.smkn1depok.sch E-mail: info@smkn1depok.sch.id
2. 2
Kata Pengantar
Puji dan syukur kami panjatkan atas kehadirat Allah SWT yang telah
melimpahkan rahmat dan karunianya,sehingga makalah ini dapat tersusun walaupun
masih dalam bentuk yang sangat sederhana.
Makalah ini disusun untuk memenuhi tugas mata pelajaran PRODUKTIF RPL
yang berjudul “TUTORIAL TUGAS AKHIR”.Dengan makalah ini diharapkan siswa
dapat lebih kreatif dalam mengembangkan wawasan dan pengetahuan.Penulis juga
mengucapkan banyak terima kasih kepada semua pihak yang telah
membantu,sehingga makalah ini dapat terselesaikan.
Penulis menyadari makalah ini masih sangat sederhana, baik bentuk maupun
isinya, sehingga penulis mengharapkan masukan dan saran demi kesempurnaan
makalah ini.
Akhir kata penulis berharap semoga makalah ini bermanfaat bagi penulis dan
pembaca pada umumnya.
Penyusun
3. 3
Daftar Isi
Kata Pengantar .............................................................................................................2
Daftar Isi........................................................................................................................3
Bab 1 Instalasi Software Pendukung ............................................................................4
Error! Reference source not found. Instalasi XAMPP ...........................................................Error! Bookm
Error! Reference source not found. Instalasi Adobe Dreamweaver ......................................8
Bab 2 Pembuatan Web.................................................................................................15
Error! Reference source not found. Pembuatan Site yang Benar .........................................15
Error! Reference source not found. Membuat Project HTML ................................................18
Error! Reference source not found. Contoh Tab Photos .......................................................20
Error! Reference source not found. Contoh Tab About.........................................................23
Error! Reference source not found. Membuat Tab Daftar Pengunjung .................................25
Bab 3 Membuat Database ............................................................................................30
Error! Reference source not found. Pembuatan Database ...................................................30
Error! Reference source not found. Pembuatan koneksi.php................................................32
Error! Reference source not found. Pembuatan add.php......................................................33
4. 4
Bab 1
Instalasi Software Pendukung
1.1 Instalasi XAMPP
XAMPP adalah perangkat lunak bebas, yang mendukung banyak sistem operasi,
merupakan kompilasi dari beberapa program.
Fungsinya adalah sebagai server yang berdiri sendiri (localhost), yang terdiri atas
program Apache HTTP Server, MySQL database, dan penerjemah bahasa yang
ditulis dengan bahasa pemrograman PHP dan Perl. Nama XAMPP merupakan
singkatan dari X (empat sistem operasi apapun), Apache, MySQL, PHP dan Perl.
Program ini tersedia dalam GNU General Public License dan bebas, merupakan
web server yang mudah digunakan yang dapat melayani tampilan halaman web
yang dinamis.
a. Download XAMPP di http://www.google.co.id/
b. Jika sudah, buka aplikasi XAMPP
8. 8
1.2 Instalasi Adobe Dreamweaver
Adobe Dreamweaver merupakan program penyunting halaman web keluaran
Adobe Systems yang dulu dikenal sebagai Macromedia Dreamweaver keluaran
Macromedia. Program ini banyak digunakan oleh pengembang web karena fitur-
fiturnya yang menarik dan kemudahan penggunaannya. Versi terakhir Macromedia
Dreamweaver sebelum Macromedia dibeli oleh Adobe Systems yaitu versi 8. Versi
terakhir Dreamweaver keluaran Adobe Systems adalah versi 12 yang ada dalam
Adobe Creative Suite 6 (sering disingkat Adobe CS6).
a. Buka Aplikasi Adobe Dreamweaver “Set-up.exe”
20. 20
</tr>
<tr>
<td height="60" valign="top"><font size="4">
<pre> One Piece adalah serial anime TV Jepang keluaran
Shonen Jump.
Pembuat manga One Piece sendiri adalah Pak Eichiro
Oda.</pre></font></td>
</tr>
</table> <p> </p></td>
</font>
</tr>
</table>
</body>
</html>
*Nb : Untuk gambar yang tidak muncul, jangan lupa sesuaikan dengan
nama file gambar anda.
c. Hasil tampilan web
d. Lakukan berulang untuk Photos dan About, sisanya tinggal
mengganti isi dari tab Photos, dan About
23. 23
2.4 Contoh Tab About
a. Kode :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>..::Wahyu Aji S Web Seadanya::..</title>
<style type="text/css">
body {
background-image: url(gambar/123.jpg);
}
</style></head>
<body>
24. 24
<table width="898" height="745" border="8" align="left">
<tr>
<td height="265" colspan="2"><a href="home.html"><img
src="gambar/asd.jpg" width="979" height="261" /></a></td>
</tr>
<tr>
<td width="120" rowspan="2" align="center" valign="top"><a
href="index.php"><img src="gambar/asd1.jpg" width="200" height="303"
/></a></td>
<td height="45"><table width="761" height="43" border="0"
align="center">
<tr align="center" valign="middle">
<td width="163" height="37"><a href="home.html"><img
src="gambar/home.jpg" width="251" height="64" /></a></td>
<td width="163"><a href="photos.html"><img
src="gambar/photos.jpg" width="249" height="64" /></a></td>
<td width="163"><a href="about.html"><img
src="gambar/about.jpg" width="248" height="64" /></a></td>
</tr>
</table></td>
</tr>
<tr>
<font size=7>
<td height="382" align="left" valign="top"><table width="763"
height="348" border="0">
<tr>
<td height="88" align="center">
<p><font size="7"><strong>About Me</strong></font></p>
<p></p>
</td>
</tr>
<tr>
<td height="254" align="center" valign="top"><font size="4"><pre>
I am creating this site is for
One Piece Lover.
I am very happy when you
enjoying this site.
I am sorry for this site is not
25. 25
100% complete and my bad
English.
</pre></font></td>
</tr>
</table> <p> </p></td>
</font>
</tr>
</table>
</body>
</html>
b. Hasil :
26. 26
2.5 Membuat Tab Daftar Pengunjung
a. Masukan kode sebagai berikut :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>..::Wahyu Aji S Web Seadanya::..</title>
<style type="text/css"></style></head>
<body>
<table width="283" height="743" border="0" align="left">
<tr>
<td width="277" height="739"><img src="gambar/asd13.jpg"
width="280" height="672" /></td>
</tr>
</table>
<table width="898" height="745" border="8" align="center">
<tr>
<td height="265" colspan="2"><a href="home.html"><img
src="gambar/asd.jpg" width="979" height="261" /></a></td>
</tr>
<tr>
<td width="120" rowspan="2" align="center" valign="top"><a
href="index.php"><img src="gambar/asd1.jpg" width="200" height="303"
30. 30
Membuat Database
3.1 Membuat Database
a. Masuk ke http://localhost/phpmyadmin/
b. Pilih”Basisdata”, sesuaikan nama, lalu klik “Ciptakan”
c. Buat table “table_bt”, jumlah kolom 5, lalu klik “Go”
31. 31
d. Lalu buat isi table sebagai berikut :
Nama Field Type Length Others Extra
id INT 11 Primary_Key Auto_increment
nama VARCHAR 50
email VARCHAR 50
alamat TEXT
Tgl TIMESTAMP
e. Lalu “Save”
33. 33
3.3 Membuat add.php
a. Pada 1 folder yang sama dengan web anda, buat file
add.php
b. Kode :
<?
include "koneksi.php";
$nama = $_POST['nama'];
$email = $_POST['e-mail'];
$alamat = $_POST['isi'];
//cek
if (!empty($nama) || !empty($email) || !empty($alamat)) {
// true; insert db
$sql = "INSERT INTO table_bt (nama,email,alamat) VALUES
('".$nama."','".$email."','".$alamat."')";
$hasil=mysql_query($sql);
if ($hasil==1)
34. 34
{
echo "<script> alert ('Daftar Pengunjung Berhasil Disimpan');
location='index.php';
</script>";
}else{
echo "<script> alert ('Daftar Pengunjung Berhasil Simpan');
location='index.php';
</script>";
}
}else { // apabila form masih ada yg kosong do..
$msg = "Form ada yang kosong, Mohon dilengkapi";
echo $msg;
echo "<br><a href='index.php'>Back</a>";
}
?>
Sekarang pengunjung Web anda sudah bisa
meninggalkan jejak
Pengetesan :
Sebelum :
Sesudah :