Selasa, 05 November 2013

PHP Indonesia - Facebook: [help] para master, propesional php bantu saya apa...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Compare Hotels

Find great prices for amazing hotels wherever your next destination may be. It's simple to search 100+ sites at once!
From our sponsors
[help] para master, propesional php bantu saya apa...
Nov 5th 2013, 13:03, by Dul Si Abdul

Dul Si Abdul 1:03pm Nov 5
[help]
para master, propesional php bantu saya apa skrip ini dah bener apa belum "<?php
include '../conecdb.php';
?>
<html>
<head>
<title>Untitled Document</title>
<link href="../assets/css/bootstrap.css" rel="stylesheet">
</head>
<body>
<h5>Masukan anggaran yang anda miliki!!</h5>
<form class="form-search" method="post" action="">
<div class="input-append">
<input type="text" class="input-block-level" placeholder="exp: 2000000" name="harga">
<button type="submit" class="btn" name="cari">Search</button>
</div>
</form>
<?php
if(isset($_POST['cari'])){
$harga=$_POST['harga'];

$query = mysql_query("select * from laptop where harga<='$harga'") or die(mysql_error());
$data = mysql_fetch_array($query);
if($data==0)
{
echo "Laptop tidak di temukan";
}else{
echo "<form action='prosCari.php?merk=$data[merk]' method='GET'>";
echo "<table border='1'>";
echo "<tr><td></td><td>Merk</td><td>Harga</td></tr>";
while ($data = mysql_fetch_array($query))
{
echo "<tr><td><input name='id[]' type='checkbox' value='$data[merk]'> </td><td>".$data['merk']."</td><td align='right'>".$data['harga']."</td></tr>";
}
echo "<tr><td colspan='3' align='right'><button type='submit' class='btn btn-warning' name='pilih'>Pilih</button></td></tr>";
echo "</form>";
echo "</table>";
}
}
?>
</body>
</html>"
soalnya ketika saya menceklis 3 data trs menekan pilih, ke 3 data tersebut tidak tampil mohon bantuannya

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar