Thank you for using rssforward.com! This service has been made possible by all our customers. In order to provide a sustainable, best of the breed RSS to Email experience, we've chosen to keep this as a paid subscription service. If you are satisfied with your free trial, please sign-up today. Subscriptions without a plan would soon be removed. Thank you!
[ask]om, penulisan sintaks sprti dibwah bisa d optimasi atau d satukan g? gmna caranya om? $query = 'Select AVG(jumlah_siswa) as rata FROM sekolah'; $result = mysql_query($query); while($r = mysql_fetch_array($result)) { $x = $r["rata"].'<br/>'; } $query2 = 'Select AVG(jumlah_komputer) as rata2 FROM sekolah'; $result2 = mysql_query($query2); while($r2 = mysql_fetch_array($result2)) { $x2 = $r2["rata2"].'<br/>'; } $query3 = 'Select AVG(jumlah_tambahan) as rata3 FROM sekolah'; $result3 = mysql_query($query3); while($r3 = mysql_fetch_array($result3)) { $x3 = $r3["rata3"].'<br/>'; } |
Rere Saputra 06 Jul, 2013
-
Source: http://www.facebook.com/groups/35688476100/?id=10151738305721101
--
Manage subscription | Powered by rssforward.com
Tidak ada komentar:
Posting Komentar