Minggu, 06 Oktober 2013

PHP Indonesia - Facebook: [ask] sya ad field tabel dimana field itu berisi ...

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/ 
Start taking a college level music theory class today.

This beginner class is now accessible to aspiring musicians of all ages. Learn all of the basic concepts in an easy to follow manner.
From our sponsors
[ask] sya ad field tabel dimana field itu berisi ...
Oct 7th 2013, 06:14, by Adhie Purwa Sasmita

Adhie Purwa Sasmita 6:14am Oct 7
[ask]

sya ad field tabel dimana field itu berisi nilai angka,
misalkan :
A. 20
B. 30
C. 40
D. 10

nah sya mau buat persentase dari setiap field tersebut,
yang berarti pertama mentotalkan semua nilai'a
lalu menghitung persentasenya

$total=0;
while($record=mysql_fetch_array($sql)){
$total=$total+$record['vote'];
$percent=($record['vote']/$total)*100;
}

yg sya bingung gmn cara mentotal dan mencari persentase'a disaat yg bersamaan??

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