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/ | |
 | Mobile Game Development Course
Learn how to create awesome HTML5 games that run on iPhone, iPad, Android and Desktop! Sign up today for this $99 online course.  | From our sponsors | | |
Array ( [0] => site1.com [1] => site2.com [2] => s... Sep 27th 2013, 03:30, by Bayang Hitam | Array ( [0] => site1.com [1] => site2.com [2] => site3.com [3] => site4.com )
gimana yah mau mnampil array tsebut bgini:
site1.com <br/> site2.com <br/> site3.com <br/> |
| | for($i =0l $i < count(nama_array);$i++) echo nama_array[$i]."<br>"; |
| | knapa ga work yah?? sila agan lihat code ini
------------------------------------- Array ( [status] => ok [hosts] => Array ( [0] => uploaded.net [1] => uploaded.to [2] => ull.to [3] => netload.in [4] => rapidgator.net [5] => letitbit.net ) ) --------------------------------------------
gimana mau menampilkan [hosts] dalam format yg ane post terdahulu |
| | ane udah berjaya..
for ($i = 0; $i < count($result['hosts']); $i++) { echo $result['hosts'][$i]."<br/>"; }
makasih yah bantu |
| | $result['host'] = array("site.com","site2.com","site3.com"); echo implode("<br/>",$result['host']);
:) | | |
|
Tidak ada komentar:
Posting Komentar