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 | | |
[TANYA] $subcategories = array(); foreach ($child1... Aug 21st 2013, 13:33, by William Fenji | [TANYA] $subcategories = array(); foreach ($child1 as $_child1){ $subcategories[]['url'] = $_child1->getUrl(); $subcategories[]['name'] = $_child1->getName(); } sort($subcategories); foreach($subcategories as $_subcategories){ $html .= '<ul><li class="list_heading"> <a href=" '.$_subcategories['url'].' ">'.$_subcategories['name'].'</a>';
itu code yg uda saya buat. saya mw tanya klo soal deklarasi array nya n cara panggilnya dlm foreach. tujuannya bwt nyimpen url dan name dari foreach $child1. ada cara yg lain jg bisa dishare. saran ato link jg bole. :D thx in advance |
| | itu dah bener | | |
|
Tidak ada komentar:
Posting Komentar