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/ | |
 | Book your hotel early for a discount!
You can reap the rewards with great discounts at participating Pullman, M Gallery, Grand Mercure, Novotel, Mercure, ibis and Formule 1 hotels.  | From our sponsors | | |
ada yang punya refernsi gak nich, cz ane msh newbi... Oct 9th 2013, 04:21, by Budi Sanjaya | ada yang punya refernsi gak nich, cz ane msh newbie... source prog. untuk export data dari database ke excel / csv dengan php gmana ya???? |
| | <?php $csv = fopen('test.csv','w'); $sql = mysql_query("select * from nama_table"); fputcsv($csv, array('Kolom1','Kolom2', 'Kolom3'); while($data = mysql_fetch_array($sql)){ fputcsv($csv, array($data['kolom1'], $data['kolom2'], $data['kolom3'])); } fclose($csv); |
| | makasih mas bro... | | |
|
Tidak ada komentar:
Posting Komentar