I gang

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

Færdigheder: PHP, Script Installering

Se mere: 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

Om arbejdsgiveren:
( 138 bedømmelser ) paris, France

Projekt-ID: #111829

Tildelt til:

maridari

Hello, I can do it immediately

$30 USD på 1 dag
(22 bedømmelser)
5.8

2 freelancere byder i gennemsnit $65 for dette job

ProgrammerBg

Please see PM.

$100 USD på 1 dag
(0 bedømmelser)
3.8