Selasa, 27 Agustus 2013

PHP Indonesia - Facebook: Mau tanya..

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/ 
Refresh your vocabulary.

Learn a new word everyday by subscribing to Word of the Day. A great tool if you're studying for the GRE, GMAT or LSAT, or simply want to enhance your lexicon.
From our sponsors
Mau tanya..
Aug 27th 2013, 13:04, by Fi Nofriani

Fi Nofriani 1:04pm Aug 27
Mau tanya..

<?php

$sort = array(5, 3, 2, 1, 4, 4);
$tampil=array('abc','hoho','hah?','?','lol','hehe');
$tampil2=array('wait','wush','wicked?','who','why','what');
sort($sort);
for ($i = 0; $i < count($sort); $i++) {
echo $i.'_<strong>'.$sort[$i].'</strong>';
echo '_'.$tampil[$i].'_';
echo $tampil2[$i].' <br />';
}
?>

Caranya biar urutan $tampil dan $tampil2 ngikut $sort yang sudah di-sorting gimana ya, Master? Soalnya itu output-nya cuma $sort terurut tapi nilai $tampil dan $tampil2 ga ngikut terurut..
TK TK..

C Rieqy IfndefXor PetangatusteluForbidden 1:32pm Aug 27
ya tinggal
sort($tampil);
sort($tampil2);
cmiiw

Fi Nofriani 2:12pm Aug 27
kalau kayak gitu dia ngurut sendiri2.. Ga ngurut sesuai urutan induk, yaitu $sort..

C Rieqy IfndefXor PetangatusteluForbidden 2:14pm Aug 27
maksudnya ngurut sesuai urutan induk $sort gmana ? :v

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