Collecting weather icon

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
New php-forum User
New php-forum User
Posts: 44
Joined: Tue Feb 26, 2013 6:00 am
Location: Mindfire Solutions

Tue May 07, 2013 10:08 pm


Please check the site ... liten.html

It does not contains <td class="wind" for which you are trying to get the string position from below line.
$posout1 = strpos($newstring1, '<td class="wind"'); // Find the end tag of the specific element .

so because of this it is not fetching the record as posout1 is blank.
may be you wanted to do '<td class="temperature"'

Sandeep Agrawal
Mindfire Solution.

Post Reply