Senin, 16 September 2013

PHP Indonesia - Facebook: mau tanya nih om 2 master, nih script php gada pes...

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/ 
Exotic travel ideas.

Searching for your next vacation destination? Subscribe to Off The Beaten Path, a newsletter featuring captivating locales to help you to plan your next trip.
From our sponsors
mau tanya nih om 2 master, nih script php gada pes...
Sep 17th 2013, 04:59, by Jaka Saputra

Jaka Saputra 4:59am Sep 17
mau tanya nih om 2 master, nih script php gada pesan eror
tapi kaga bisa meng-eksekusi, mudah2hn ga menjadi kudeta hati :)

<?php session_start();
//cek sesion
require ("../config.php"); ?>
<style type="text/css">
a:link {
color: #00F;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #00F;
}
a:hover {
text-decoration: none;
color: #F00;
}
a:active {
text-decoration: none;
color: #F00;
}
</style>

<div align="center">
Detail Produk
<table width="98%" class="table table-bordered table-hover">
<thead>
<tr>
<th><div align="left">Tanggal</div></th>
<th><div align="left">Nama Barang</div></th>
<th><div align="left">Jumlah</div></th>
<th><div align="left">Total Harga</div></th>
</tr>
</thead>
<tbody>
<?php
$sqlf=mysql_query("select * from pesanan, tabel_produk.nama='".addslashes($a[nama])."'and pesanan.kode_barang=tabel_produk.id order by tanggal");
while ($s=mysql_fetch_array($sqlf)) {
$no++;
$total = $s[harga]*$s[jumlah];
echo "
<tr>
<td>$no</td>
<td>$s[nama_barang]</td>
<td>$s[jumlah]</td>
<td>$total</td>
</tr>"; }
?>
</table>

Rifky Aditia 5:07am Sep 17
SELECT * FROM pesanan WHERE ?

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