Hi there,
I am extracting data from a controller , I can see the full data table but I will like to choose two values.
Please see below the php code (It is working but extract all the data),
<?php include("simple_html_dom.php"); $html=file_get_html("http://192.168.1.22/S.htm?ovrideStart=0"); //$html=file_get_html("http://192.168.1.23/S.htm?ovrideStart=0"); $title=$html->find("div#mainContent",0)->innertext; echo $title; ?>This is the data extracted ,
Item Label Value Units Graph Alarm
S1 HWS Calorifier No1 Temperature 60.26 DegC
graphValue - 15 Minutes (P1)
No Alarm
S2 HWS Calorifier No2 Temperature 60.39 DegC
graphValue - 15 Minutes (P2)
No Alarm
S3 HWS Common Flow Temperature 59.01 DegC
graphValue - 15 Minutes (P3)
No Alarm
This is the html code,
| Item | Label | Value | Units | Graph | Alarm |
| S1 | HWS Calorifier No1 Temperature | 60.20 | DegC | No Alarm | |
| S2 | HWS Calorifier No2 Temperature | 60.41 | DegC | No Alarm | |
| S3 | HWS Common Flow Temperature | 59.08 | DegC |