Jump to content
php.lv forumi

masiiva veertiibu kaartoshana/atteeloshana


KillerBean

Recommended Posts

Sveiki.

Gribeeju pajautaat - ar kaadu funkciju var masiiva veertiibas, pirms atteelo, sakaartot pieaugoshaa/dilstoshaa seciibaa (masiiva veertiiba vienmeer buus skaitlis). Ar foreach vinjsh vnk vinjas peec kaartas atteelo.

 

Un tad veel 1. tas bish par HTML. kaa <input type='text'> var noraadiit, lai var ierakstiit tikai skaitljus. (ja taa var.)

 

Paldies.

Link to comment
Share on other sites

roc peec shiim...

--------

uasort -- Sort an array with a user-defined comparison function and maintain index association

uksort -- Sort an array by keys using a user-defined comparison function

usort -- Sort an array by values using a user-defined comparison function

---------------

Link to comment
Share on other sites

×
×
  • Create New...