Jump to content
php.lv forumi

Recommended Posts

Posted

Man ir array $v[$y] un $c[$y]

 

$v glabā informāciju

$c glabā informācijas svarīgumu 1,2,3,4,5,etc...

$y ir saitē 0,1,2,3,4 - tb id kas savieno $v un $c kopā!

 

Kā man sakārtot dilstoša secība $v kārtojot pēc $c lieluma?

Posted

array_multisort jālieto. Tā kārto vairākus masīvus reizē (pēc viena masīva vērtībām). Example #1 funkcijas dokumentācijā parāda kā to darīt.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...