Output Rental


outrental.php

<html>

<head>

<title>www.opankcom.co.cc</title>

</head>

<body>

<body bgcolor=”white”>

<?

$nama=$_POST[“nama”];

$jenis=$_POST[“jenis”];

$lama=$_POST[“lama”];

switch($jenis)

{

case”AVANZA”:

$harga=150000;

break;

case”XENIA”:

$harga=250000;

break;

case”TERIOS”:

$harga=350000;

break;

default:

$harga=400000;

break;

}

$total=$lama*$harga;

echo”<pre>

<h1>STRUK

PEMBAYARAN</h1>

NAMA PENYEWA    : $nama

JENIS MOBIL     : $jenis

LAMA SEWA       : $lama

HARGA SEWA/HARI : $harga

TOTAL BAYAR     : $total

“;

?>

<a href=”inrental.php”>BACK</a>

</body>

</html>

Terima Kasih Atas Komentar Yang Di Berikan Semoga Bermanfaat !!!

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s