Sedang Disiapkan

sorting algo

I need a php function which scans a mysql result and returns:

the list of similar txt used,

the nb of occurence for each similar text.

then the similar txt are shown in order of decresing nb of occurence

There are a couple of thousands of lines, should be done fast and efficiently.

example:

banana

playstation

tree

stuff

tree

playstation

football

tree

loan

banana

smart

smart

returns:

1. list of txt used:

banana

playstation

tree

stuff

football

loan

smart

2. nb of occurence for each:

2 banana

2 playstation

3 tree

2 stuff

1 football

1 loan

2 smart

3. in order:

3 tree

2 banana

2 playstation

2 stuff

2 smart

1 football

1 loan

Kemahiran: PHP, Memasang Skrip

Lihat lebih lanjut: tree in order, sorting algo, order of tree, webb, playstation, c algo, banana, algo, script tree, script smart, loan php mysql, example shown, php sorting, similar text php mysql, loan script php, tree script php, example tree, tree php mysql, tree order, loan function, php mysql similar text, similar text mysql, text football, php similar text mysql, result script

Tentang Majikan:
( 138 ulasan ) paris, France

ID Projek: #111829

Dianugerahkan kepada:

maridari

Hello, I can do it immediately

$30 USD dalam sehari
(22 Ulasan)
5.8

2 pekerja bebas membida secara purata $65 untuk pekerjaan ini

ProgrammerBg

Please see PM.

$100 USD dalam sehari
(0 Ulasan)
3.8