Đang Thực Hiện

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 thêm: three p, psp create, create psp, psp, data p, bracket, adv, comment mysql, bracket html, function drawing, php html array, mysql data word php, mysql data word, quick count, php drawing, draw data, php mysql data word, bracket php, data word website, really quick website, php bracket, count mysql, mysql word count, mysql php bracket, mysql psp

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

Mã Dự Án: #1864173

Đã trao cho:

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