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 | | |
Mau tanya, gimana caranya menjumlah kan variabel h... Nov 2nd 2013, 09:36, by Eko Agustiawan | Mau tanya, gimana caranya menjumlah kan variabel harga dalam sql
while($data = mysql_fetch_array($qry)) { echo $data['id']." <b>". $data['nama']." : </b>Rp.".$data['harga']."<br>"; } }
dengan hasil ;
id nama harga 01 buku 4200 02 pensil 1200 03 pena 2000
bagaimana kalau saya ingin menjumlahkan id 01, dan 03 saja? terimakasih. |
| | https://www.google.com/search?q=sum+mysql&oq=sum+mysql&aqs=chrome..69i57j0l3.3582j0j4&sourceid=chrome&ie=UTF-8 |
| | penambahannya mudah..tetapi dasar penambahannya mesti standard,,apa semua yg ganjil disum semua?? dasarnya sich yg mesti jelas dulu |
| | betul mas Achmad Jamhari...harus mengerti dulu dasar penjumlahan dari mana... | | |
|
Tidak ada komentar:
Posting Komentar