Minggu, 06 April 2014

Frame (Header, tengah dan footer)

frame.html

<html>
<head>
<title>Frame</title>
</head>
<frameset rows="*,6*,*">
<frame src="frameheader.html">
<frame src="frametengah.html">
<frame src="framefooter.html">
</frameset>
</body>
</html>

Membuat Website dengan HTML

Home.html

<html>
<head>
<title> -Bella-</title>
</head>
<body background="depositphotos_22605379-background-batik-a.jpg">

<table border="1" width="80%" height="97%" Align="center" bgcolor=GRAY>
<tr>

Aplikasi Upload File

form_upload.php

<form enctype="multipart/form-data"
    method="POST" action="upload_1.php">
    file yang di uplod: <input type="file" name="fupload"><br>
   deskripsi file: <br>
<textarea name="deskripsi" rows="8" cols="40"></textarea><br>
<input type=submit value=upload>

</form>

Membuat Koneksi

koneksi.php

<?php
$server = "localhost";
$username = " ";
$password = " ";
$database = "mahasiswa";

//contoh 1
//koneksi dan memilih database di server
//mysql_connect($server,$username,$password);
//mysql_select_db ($database);

© Bella Yulianita 2012 | Blogger Template by Enny Law - Ngetik Dot Com - Nulis