Hi,
I am reading in a file, sorting it and then making it a multi-dimensional array using explode.
These leaves me with array[$i][5] equal to:
something_t_i_m_e_s_t_a_m_p.gif
something_t_i_m_e_s_t_a_m_p.gif
something_t_i_m_e_s_t_a_m_p.gif
somethingelse_t_i_m_e_s_t_a_m_p.gif
somethingelse_t_i_m_e_s_t_a_m_p.gif
somethingelse_t_i_m_e_s_t_a_m_p.gif
somethingother_t_i_m_e_s_t_a_m_p.gif
somethingother_t_i_m_e_s_t_a_m_p.gif
somethingother_t_i_m_e_s_t_a_m_p_.gif
Now the sort puts these in order by name then the time-stamp which works great. But how do I search for the first time I come across a somethingelse_t_i_m_e_s_t_a_m_p.gif. The somethingelse never changes, but the timestamp obviously does. I only need to do this once because I want to eventually go to the link once it finds the first instance of a somethingelse_t_i_m_e_s_t_a_m_p.gif. I hope I explained this well enough. Thanks!