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 gkittelson 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: *

  1. saulensr

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

    Thank you very much!!!!!!!!!!!! Its working You helped for me very much.
  2. saulensr

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

    I ma trying and trying preg_replace() but it dont works for me. I am a little new in complicated php. Can anyone help to me to replace function what i found that she work like replace? Please. I am trying it to do all week but it dont works for me.
  3. 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