En cours

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.

Compétences : HTML, PHP

Voir plus : webdeveloper php, self html, regex is, regex example, php webdeveloper, php tags, need webdeveloper, html xhtml, curl game, html dom game, webdeveloper , regex, php simple, php regex, open span, juice, html tags, html in, html game, dom, c regex, fetch post, php regex html, curl simple html dom, simple function

Concernant l'employeur :
( 35 commentaires ) Dallas, United States

N° du projet : #1016218

Décerné à :

softwarevamp

Hello, glad to help you!

30 $ USD en 0 jours
(22 Commentaires)
4.8

8 freelance ont fait une offre moyenne de 55 $ pour ce travail

SigmaVisual

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

100 $ USD en 1 jour
(223 Commentaires)
7.7
annonymus

Hello, please check PMB.

40 $ USD en 0 jours
(18 Commentaires)
5.2
sashamd

Please check PMB.

30 $ USD en 1 jour
(10 Commentaires)
4.5
deboss

Hi, Please check your PMB.

30 $ USD en 0 jours
(0 Commentaires)
0.0
karik87

we are ready to start work

30 $ USD en 1 jour
(0 Commentaires)
0.0
savingnowus

We can start it now!

33 $ USD en 1 jour
(0 Commentaires)
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 en 5 jours
(1 Commentaire)
0.0