Đã hoàn thành

118006 parse data from website

I would like someone to create me a php function getInfo($word) that return an array with bunch of informations grabbed from

[url removed, login to view]

so for example (note: i put my comment inside the bracket)

1. $a = getInfo('quick') will give me

$a[adv][status]=1 (exist)

$a[adv][count]=3 (three result)

$a[adv][0] = 'quick'

$a[adv][1] = 'quicker'

$a[adv][2] = 'quickest'

$a[adj][status]=1 (exist)

$a[adj][count]=3 (three result)

$a[adj][0] = 'quick'

$a[adj][1] = 'quicker'

$a[adj][2] = 'quickest'

$a[noun][status]=1 (exist)

$a[noun][s] = 'quick'

$a[noun][p] = 'quicks'

$a[noun][sp] = 'quick\'s'

$a[noun][pp] = 'quicks\''

$a[verb][status]=0 (doesn't exist)

2. $a = getInfo('quickly') will give me

$a[adv][status]=1 (exist)

$a[adv][count]=1 (one result)

$a[adv][0] = 'quickly'

$a[adj][status]=0 (doesn't exist)

$a[noun][status]=0 (doesn't exist)

$a[verb][status]=0 (doesn't exist)

3. $a = getInfo('draw') or $a = getInfo('drawing') will give me

$a[adv][status]=0(doesn't exist)

$a[adj][status]=0 (doesn't exist)

$a[noun][status]=1 (exist)

$a[noun][s] = 'draw'

$a[noun][p] = 'draws'

$a[noun][sp] = 'draw\'s'

$a[noun][pp] = 'draws\''

$a[verb][status]=1 (exist)

$a[verb][inf] = 'draw'

$a[verb][past] = 'drew'

$a[verb][prp] = 'drawing'

$a[verb][psp] = 'drawn'

$a[verb][p1] = 'draw' (i you they we)

$a[verb][p2] = 'draws' (he/she/it)

i don't really care how you are going to format the array as long as I can get all informations.

good luck and happy bidding

Kĩ năng: Bất kì công việc gì, MySQL, PHP

Xem nhiều hơn: three p, psp to html, psp create, create psp, psp, parse html, parse and, parse an html, data p, bracket, adv, comment mysql, parse array php, html parse php, bracket html, php parse array, parse array, parse php, php data parse, parse data, function drawing, html parse, php html array, mysql data word php, mysql data word

Về Bên Thuê:
( 12 nhận xét )

ID dự án: #1864173

Được trao cho:

$40 USD trong 0 ngày
(91 Đánh Giá)