Block "currentSK" - Please fix the line 50

Post Reply
User avatar
mpca86
Observer
Observer
Posts: 13
Joined: Tue Jan 16, 2018 9:41 pm
Location: Poprad
Station model: NodeMCU ESP8266
Software: via API
Contact:

Block "currentSK" - Please fix the line 50

Post by mpca86 » Wed Jan 31, 2018 2:43 pm

Please change this code

Code: Select all

preg_match_all("/<tr ?>(.*?)<\/tr>/",$dataTable,$matchedCities);
to this

Code: Select all

preg_match_all("/<tr .*?>(.*?)<\/tr>/",$dataTable,$matchedCities);
Each second row has the style "class="second"" and therefore not all cities/places are selected ;)

Post Reply