Devam Ediyor

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

Beceriler: PHP, Betik Yükleme

Daha fazlasını görün: sorting algo, order 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, similar text php

İşveren Hakkında:
( 138 değerlendirme ) paris, France

Proje NO: #111829

Seçilen:

maridari

Hello, I can do it immediately

1 gün içinde 30$ USD
(22 Değerlendirme)
5.8

2 freelancer bu iş için ortalamada 65$ teklif veriyor

ProgrammerBg

Please see PM.

1 gün içinde 100$ USD
(0 Değerlendirme)
3.8