kondordv Posted March 29, 2008 Share Posted March 29, 2008 Hi all, I'm a php beginner and I need some advice regarding my code creation. I need to do a php code which is looking at a specified url destination (e.g. http://'the page address') in the code as example below: <table border="0"> <tr> <td valign="top" align="center"> <b>Acum</b> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td valign="middle" style="padding-right:10px;white-space:nowrap;"> <b style="font-size:14px;">9° C</b> </td valign="middle"> <td> <img src="/images_ro/33.jpg" style="width:76px;height:76px;"> </td> <td style="padding-left:10px;white-space:nowrap;"> <span style="font-size:12px;">Realitate: <b>10° C</b><br> Umiditate: <b>66%</b><br> Presiune: <b>765.06 mmHG</b><br> Viteza vantului: <b>N cu 1km/h</b></span> </td> </tr> </table> I want my php code to find at the specified link the word "Acum" then to navigate from "Acum" through the table tags to 'img src="/images_ro/33.jpg[/b]"'. Here the file name 33.jpg is my interest to be read into a variable $thefile. This file name is changing all the time, and I need to do a function depending of the file name, I mean of the variable $thefile value. Can somebody help me with functions for this kind of search? thank you, kondordv Link to comment https://forums.phpfreaks.com/topic/98547-search-find-and-use/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.