Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: saulensr
  • Content: Threads
  • Order by date
  1. saulensr

    Replace <img src="test.jpg" to <a href="test.jpg">

    Hello I found this function: function GetImageSource($strHtml) { $strRegExp = '/<img (?:.*?)src=(?:"|\'){1}(.*?)(?:"|\'){1}/is'; $arrMatches = array(); $bolMatched = preg_match_all($strRegExp,$strHtml,$arrMatches); if( $bolMatched!==false && isset($arrMatches[1])...

Part and Inventory Search

Back
Top