Đang Thực Hiện

PARSE HTML PHP - SIMPLE HTML DOM PARSER

I need an HTML parser function built to grab all the game numbers, team name, odds, juice, and post name and values for each game per attachment.

ALL THE VALUES UNDER THE TOTAL RUNS FOR EACH GAME DROP DOWN NEED TO BE GRABBED.

The function needs to return an array with

$game['game_number']['team_name'] = 'Washington Nationals

J. Zimmerman'

$game['game_number']['odds'] = THIS WILL CONSIST OF ALL THE VALUES IN THE HTML BELOW. So it should be keyed by the value => and option name. Ex. 6.5 -182_0 => OVER 6.5 -182

$game['game_number']['post_name'] = 'T1_199532984_0'

$game['game_number']['select_name'] = 'selT1_199532984_0'

Game number will be the game number for each row. So for this example the game number would be 901

<span title="&lt;select name=&quot;selT1_199532984_0&quot;&gt;" class="webdeveloper-display-form-details">&lt;select name="selT1_199532984_0"&gt;</span><select name="selT1_199532984_0">

<option value=" 6.5 -182_0">OVER 6.5 -182</option>

<option value=" 7 -145_1">OVER 7 -145</option>

<option value=" 7.5 -105_2" selected="selected">OVER 7.5 -105</option>

<option value=" 8 +111_3">OVER 8 +111</option>

<option value=" 8.5 +127_4">OVER 8.5 +127</option>

</select>

THIS IS WHY I DONT WANT REGEX TO BE USED TO PARSE HTML.

[url removed, login to view]

SEE ATTACHED. THE FUNCTION SHOULD TAKE IN A VARIABLE WITH THE HTML IN IT. I AM ALREADY USING CURL TO FETCH THE PAGE.

Kỹ năng: HTML, PHP

Xem thêm: php simple html dom parse select option, simple html dom option selected, php simple html dom option, php simple html dom parser, simple html dom parser, webdeveloper php, using regex in c, self html 5, regex is, regex in c, regex example, php webdeveloper, php tags, need webdeveloper, html 5 xhtml, html 5 it, curl game, c++ parse html 5, php dom parser example, html dom game, simple php html dom parser select option, php simple html dom parser stackoverflow, php html parser select option, php html parser, regex &

Về Bên Thuê:
( 35 nhận xét ) Dallas, United States

Mã Dự Án: #1016218

Đã trao cho:

softwarevamp

Hello, glad to help you!

$30 USD trong 0 ngày
(22 Đánh Giá)
4.8

8 freelancer đang chào giá trung bình $55 cho công việc này

SigmaVisual

We can help in your project, please check PMB and our ratings/reviews to get idea of our experience.

$100 USD trong 1 ngày
(223 Đánh Giá)
7.7
annonymus

Hello, please check PMB.

$40 USD trong 0 ngày
(18 Đánh Giá)
5.2
sashamd

Please check PMB.

$30 USD trong 1 ngày
(10 Đánh Giá)
4.5
deboss

Hi, Please check your PMB.

$30 USD trong 0 ngày
(0 Đánh Giá)
0.0
karik87

we are ready to start work

$30 USD trong 1 ngày
(0 Đánh Giá)
0.0
savingnowus

We can start it now!

$33 USD trong 1 ngày
(0 Đánh Giá)
0.0
pawanjhamb

we have a team of 18 members with expertise in their profession. We have made a similar kind of projects. For further information please view your PMB. Ready to work with you Regards

$150 USD trong 5 ngày
(1 Đánh Giá)
0.0